Service
The Service class is used to inspect and create tasks for a service.
Constructor Summary
Public Constructor | ||
public |
constructor(client: Client, serviceName: string) |
Method Summary
Public Methods | ||
public |
info(): Promise<ServiceInfo, error> Retrieves the service information. |
|
public |
Returns a task object. |
|
public |
taskInfoList(): Promise<TaskInfo[], error> Retrieves the array of task info objects available on the service. |
version 1.1.0 |
public |
Retrieves the array of task objects available on the service. |
Public Constructors
Public Methods
public task(taskName: string): Task source
Returns a task object.
Params:
Name | Type | Attribute | Description |
taskName | string | The name of the task. |