Class: Command
Represents a Command.
Implements
Constructors
constructor
• new Command(properties?): Command
Constructs a new Command.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | ICommand | Properties to set |
Returns
Properties
attributes
• Optional attributes: "scheduleActivityTaskCommandAttributes" | "startTimerCommandAttributes" | "completeWorkflowExecutionCommandAttributes" | "failWorkflowExecutionCommandAttributes" | "requestCancelActivityTaskCommandAttributes" | "cancelTimerCommandAttributes" | "cancelWorkflowExecutionCommandAttributes" | "requestCancelExternalWorkflowExecutionCommandAttributes" | "recordMarkerCommandAttributes" | "continueAsNewWorkflowExecutionCommandAttributes" | "startChildWorkflowExecutionCommandAttributes" | "signalExternalWorkflowExecutionCommandAttributes" | "upsertWorkflowSearchAttributesCommandAttributes" | "protocolMessageCommandAttributes" | "modifyWorkflowPropertiesCommandAttributes" | "scheduleNexusOperationCommandAttributes" | "requestCancelNexusOperationCommandAttributes"
The command details. The type must match that in command_type.
cancelTimerCommandAttributes
• Optional cancelTimerCommandAttributes: null | ICancelTimerCommandAttributes
Command cancelTimerCommandAttributes.
Implementation of
ICommand.cancelTimerCommandAttributes
cancelWorkflowExecutionCommandAttributes
• Optional cancelWorkflowExecutionCommandAttributes: null | ICancelWorkflowExecutionCommandAttributes
Command cancelWorkflowExecutionCommandAttributes.
Implementation of
ICommand.cancelWorkflowExecutionCommandAttributes
commandType
• commandType: CommandType
Command commandType.
Implementation of
completeWorkflowExecutionCommandAttributes
• Optional completeWorkflowExecutionCommandAttributes: null | ICompleteWorkflowExecutionCommandAttributes
Command completeWorkflowExecutionCommandAttributes.
Implementation of
ICommand.completeWorkflowExecutionCommandAttributes
continueAsNewWorkflowExecutionCommandAttributes
• Optional continueAsNewWorkflowExecutionCommandAttributes: null | IContinueAsNewWorkflowExecutionCommandAttributes
Command continueAsNewWorkflowExecutionCommandAttributes.
Implementation of
ICommand.continueAsNewWorkflowExecutionCommandAttributes
failWorkflowExecutionCommandAttributes
• Optional failWorkflowExecutionCommandAttributes: null | IFailWorkflowExecutionCommandAttributes
Command failWorkflowExecutionCommandAttributes.
Implementation of
ICommand.failWorkflowExecutionCommandAttributes
modifyWorkflowPropertiesCommandAttributes
• Optional modifyWorkflowPropertiesCommandAttributes: null | IModifyWorkflowPropertiesCommandAttributes
16 is available for use - it was used as part of a prototype that never made it into a release
Implementation of
ICommand.modifyWorkflowPropertiesCommandAttributes
protocolMessageCommandAttributes
• Optional protocolMessageCommandAttributes: null | IProtocolMessageCommandAttributes
Command protocolMessageCommandAttributes.
Implementation of
ICommand.protocolMessageCommandAttributes
recordMarkerCommandAttributes
• Optional recordMarkerCommandAttributes: null | IRecordMarkerCommandAttributes
Command recordMarkerCommandAttributes.