Page History
...
The js7.Job
class is an abstract class that is implemented by a JS7Job
class in the job:
Methods
Method | Argument | Return Value |
---|---|---|
processOrder() | [object] js7Step | n/a |
Objects
Object | Purpose | ||
---|---|---|---|
js7Step | The |
built-in object js7Step provides a number of methods | |||
Area | Method | Argument | Return Value |
---|---|---|---|
Argument | getAllArguments() | n/a | [object[]] arguments |
getAllArgumentsAsNameValueMap() | n/a | [map] argumentMap | |
getAllDeclaredArguments() | n/a | [object[]] arguments | |
getDeclaredArgument() | [string] argumentName | [object] argument | |
getDeclaredArgumentValue() | [string] argumentName | [string|int|bool] argumentValue | |
getJobResourcesArgumentsAsNameDetailValueMap() | n/a | [map] arguments | |
getOrderArgumentsAsNameValueMap() | n/a | [map] arguments | |
Job | getAgentIdt() | n/a | [string] agentId |
getJobEnvironment() | n/a | [object] jobEnvironment | |
getJobEnvironment().getJobKey() | n/a | ||
getJobEnvironment().getEncoding() | n/a | [string] encoding | |
getJobEnvironment()..getDeclaredArguments() | n/a | [object[]] jobArguments | |
getJobInstructionLabel() | n/a | [string] label | |
getJobName() | n/a | [string] jobName | |
getControllerId() | n/a | [string] controllerId | |
getOrderId() | n/a | [string] orderId | |
getWorkflowName() | n/a | [string] workflowName | |
getWorkflowPosition() | n/a | [string] position | |
getWorkflowVersionId() | n/a | [string] versionId | |
Outcome | getLastFailedOutcomes() | n/a | [object[]] outcomes |
getLastSucceededOutcomes() | n/a | [object[]] outcomes | |
getOutcome() | n/a |
| |
Utility | getLogger() | [string] message | n/a |
Example
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
class JS7Job extends js7.Job { processOrder(js7Step) { js7Step.getLogger().info("Hello World"); } } |
...
Overview
Content Tools