dw.job
Class JobStepExecution
dw.job.JobStepExecution
Represents an execution of a step that belongs to a job. The job execution this step execution belongs to can be
accessed via getJobExecution(). If a pipeline is used to implement a step this step execution is available
in the pipeline dictionary under the key 'JobStepExecution'. If a script module is used to implement a step this step
execution is available as the second parameter of the module's function that is used to execute the step, e.g.:
... exports.execute( parameters, stepExecution) { ... var jobExecution = stepExecution.getJobExecution(); ... } ...
Properties
ID
:
String
(Read Only)
The ID of this step execution.
jobExecution
:
JobExecution
(Read Only)
The job execution this step execution belongs to.
stepID
:
String
(Read Only)
The ID of the step this step execution belongs to.
stepTypeID
:
String
(Read Only)
The ID of the step type of the step this step execution belongs to.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
getJobExecution()
:
JobExecution
Returns the job execution this step execution belongs to.
getParameterValue(name
:
String)
:
Object
Returns the value of the parameter of the step this step execution belongs to.
getStepTypeID()
:
String
Returns the ID of the step type of the step this step execution belongs to.
Methods inherited from class
Object
assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values
Method Detail
getID
getID()
:
String
Returns the ID of this step execution.
Returns:
the ID of this step execution.
getJobExecution
getJobExecution()
:
JobExecution
Returns the job execution this step execution belongs to.
Returns:
the job execution this step execution belongs to.
getParameterValue
Returns the value of the parameter of the step this step execution belongs to.
Parameters:
name
-
The name of the parameter.
Returns:
the value of the parameter of the step this step execution belongs to.
getStepID
getStepID()
:
String
Returns the ID of the step this step execution belongs to.
Returns:
the ID of the step this step execution belongs to.
getStepTypeID
getStepTypeID()
:
String
Returns the ID of the step type of the step this step execution belongs to.
Returns:
the ID of the step type of the step this step execution belongs to.