Interface CommandInstance
Methods
create
- create(query: string): Promise<void>
-
Parameters
Returns Promise<void>
read
- read(query?: undefined | string): Promise<void>
-
Parameters
-
Optional query: undefined | string
Returns Promise<void>
remove
- remove(task: Task): Promise<void>
-
Parameters
Returns Promise<void>
saveSetting
- saveSetting(setting: object): Promise<void>
-
Parameters
-
setting: object
-
key: string
-
value: string | number | boolean
Returns Promise<void>
submit
- submit(task: Task): Promise<void>
-
Parameters
Returns Promise<void>
updateWorkflowVersion
- updateWorkflowVersion(): Promise<void>
verifySetting
- verifySetting(key: string, value: string | number | boolean): void
-
Parameters
-
key: string
-
value: string | number | boolean
Returns void
A command instance. This is the starting point for all calls eminating from the workflow.