public class TerminateWorkflowExecutionParameters
extends java.lang.Object
Constructor and Description |
---|
TerminateWorkflowExecutionParameters() |
TerminateWorkflowExecutionParameters(WorkflowExecution workflowExecution,
ChildPolicy childPolicy,
java.lang.String reason,
byte[] details) |
Modifier and Type | Method and Description |
---|---|
ChildPolicy |
getChildPolicy() |
byte[] |
getDetails() |
java.lang.String |
getReason() |
WorkflowExecution |
getWorkflowExecution() |
void |
setChildPolicy(ChildPolicy childPolicy) |
void |
setDetails(byte[] details) |
void |
setReason(java.lang.String reason) |
void |
setWorkflowExecution(WorkflowExecution workflowExecution) |
TerminateWorkflowExecutionParameters |
withChildPolicy(ChildPolicy childPolicy) |
TerminateWorkflowExecutionParameters |
withDetails(byte[] details) |
TerminateWorkflowExecutionParameters |
withReason(java.lang.String reason) |
TerminateWorkflowExecutionParameters |
withWorkflowExecution(WorkflowExecution workflowExecution) |
public TerminateWorkflowExecutionParameters()
public TerminateWorkflowExecutionParameters(WorkflowExecution workflowExecution, ChildPolicy childPolicy, java.lang.String reason, byte[] details)
public WorkflowExecution getWorkflowExecution()
public void setWorkflowExecution(WorkflowExecution workflowExecution)
public TerminateWorkflowExecutionParameters withWorkflowExecution(WorkflowExecution workflowExecution)
public ChildPolicy getChildPolicy()
public void setChildPolicy(ChildPolicy childPolicy)
public TerminateWorkflowExecutionParameters withChildPolicy(ChildPolicy childPolicy)
public java.lang.String getReason()
public void setReason(java.lang.String reason)
public TerminateWorkflowExecutionParameters withReason(java.lang.String reason)
public byte[] getDetails()
public void setDetails(byte[] details)
public TerminateWorkflowExecutionParameters withDetails(byte[] details)