ConnectorService
No overview available.
Attributes
| Attribute | Type | Description |
|---|---|---|
| CorePlugin | core.Plugin | This attribute stores an instance of core.Plugin, which provides core functionalities and integrations for the ConnectorService. |
Methods
ContainTaskType()
@classmethod
def ContainTaskType(
taskType: string
) - > bool
Checks if the provided task type is among the supported task types for the connector service. Callers use this to validate if a specific task can be handled.
Parameters
| Name | Type | Description |
|---|---|---|
| taskType | string | The specific task type to check for support. |
Returns
| Type | Description |
|---|---|
bool | A boolean indicating whether the task type is supported (true) or not (false). |
SetSupportedTaskType()
@classmethod
def SetSupportedTaskType(
taskTypes: []string
)
Sets the list of task types that the connector service is configured to support. This method updates the internal state of the service to reflect which tasks it can process.
Parameters
| Name | Type | Description |
|---|---|---|
| taskTypes | []string | A slice of strings, where each string represents a task type that the service should support. |