Package com.uber.cadence.internal.common
Class TerminateWorkflowExecutionParameters
- java.lang.Object
-
- com.uber.cadence.internal.common.TerminateWorkflowExecutionParameters
-
public class TerminateWorkflowExecutionParameters extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description TerminateWorkflowExecutionParameters()
TerminateWorkflowExecutionParameters(WorkflowExecution workflowExecution, java.lang.String reason, byte[] details)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getDetails()
java.lang.String
getReason()
WorkflowExecution
getWorkflowExecution()
void
setDetails(byte[] details)
void
setReason(java.lang.String reason)
void
setWorkflowExecution(WorkflowExecution workflowExecution)
TerminateWorkflowExecutionParameters
withDetails(byte[] details)
TerminateWorkflowExecutionParameters
withReason(java.lang.String reason)
TerminateWorkflowExecutionParameters
withWorkflowExecution(WorkflowExecution workflowExecution)
-
-
-
Constructor Detail
-
TerminateWorkflowExecutionParameters
public TerminateWorkflowExecutionParameters()
-
TerminateWorkflowExecutionParameters
public TerminateWorkflowExecutionParameters(WorkflowExecution workflowExecution, java.lang.String reason, byte[] details)
-
-
Method Detail
-
getWorkflowExecution
public WorkflowExecution getWorkflowExecution()
-
setWorkflowExecution
public void setWorkflowExecution(WorkflowExecution workflowExecution)
-
withWorkflowExecution
public TerminateWorkflowExecutionParameters withWorkflowExecution(WorkflowExecution workflowExecution)
-
getReason
public java.lang.String getReason()
-
setReason
public void setReason(java.lang.String reason)
-
withReason
public TerminateWorkflowExecutionParameters withReason(java.lang.String reason)
-
getDetails
public byte[] getDetails()
-
setDetails
public void setDetails(byte[] details)
-
withDetails
public TerminateWorkflowExecutionParameters withDetails(byte[] details)
-
-