@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2020-06-01") public class Decision extends java.lang.Object implements org.apache.thrift.TBase<Decision,Decision._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<Decision>
Modifier and Type | Class and Description |
---|---|
static class |
Decision._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Constructor and Description |
---|
Decision() |
Decision(Decision other)
Performs a deep copy on other.
|
public DecisionType decisionType
DecisionType
public ScheduleActivityTaskDecisionAttributes scheduleActivityTaskDecisionAttributes
public StartTimerDecisionAttributes startTimerDecisionAttributes
public CompleteWorkflowExecutionDecisionAttributes completeWorkflowExecutionDecisionAttributes
public FailWorkflowExecutionDecisionAttributes failWorkflowExecutionDecisionAttributes
public RequestCancelActivityTaskDecisionAttributes requestCancelActivityTaskDecisionAttributes
public CancelTimerDecisionAttributes cancelTimerDecisionAttributes
public CancelWorkflowExecutionDecisionAttributes cancelWorkflowExecutionDecisionAttributes
public RequestCancelExternalWorkflowExecutionDecisionAttributes requestCancelExternalWorkflowExecutionDecisionAttributes
public RecordMarkerDecisionAttributes recordMarkerDecisionAttributes
public ContinueAsNewWorkflowExecutionDecisionAttributes continueAsNewWorkflowExecutionDecisionAttributes
public StartChildWorkflowExecutionDecisionAttributes startChildWorkflowExecutionDecisionAttributes
public SignalExternalWorkflowExecutionDecisionAttributes signalExternalWorkflowExecutionDecisionAttributes
public UpsertWorkflowSearchAttributesDecisionAttributes upsertWorkflowSearchAttributesDecisionAttributes
public static final java.util.Map<Decision._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Decision()
public Decision(Decision other)
public Decision deepCopy()
deepCopy
in interface org.apache.thrift.TBase<Decision,Decision._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<Decision,Decision._Fields>
public DecisionType getDecisionType()
DecisionType
public Decision setDecisionType(DecisionType decisionType)
DecisionType
public void unsetDecisionType()
public boolean isSetDecisionType()
public void setDecisionTypeIsSet(boolean value)
public ScheduleActivityTaskDecisionAttributes getScheduleActivityTaskDecisionAttributes()
public Decision setScheduleActivityTaskDecisionAttributes(ScheduleActivityTaskDecisionAttributes scheduleActivityTaskDecisionAttributes)
public void unsetScheduleActivityTaskDecisionAttributes()
public boolean isSetScheduleActivityTaskDecisionAttributes()
public void setScheduleActivityTaskDecisionAttributesIsSet(boolean value)
public StartTimerDecisionAttributes getStartTimerDecisionAttributes()
public Decision setStartTimerDecisionAttributes(StartTimerDecisionAttributes startTimerDecisionAttributes)
public void unsetStartTimerDecisionAttributes()
public boolean isSetStartTimerDecisionAttributes()
public void setStartTimerDecisionAttributesIsSet(boolean value)
public CompleteWorkflowExecutionDecisionAttributes getCompleteWorkflowExecutionDecisionAttributes()
public Decision setCompleteWorkflowExecutionDecisionAttributes(CompleteWorkflowExecutionDecisionAttributes completeWorkflowExecutionDecisionAttributes)
public void unsetCompleteWorkflowExecutionDecisionAttributes()
public boolean isSetCompleteWorkflowExecutionDecisionAttributes()
public void setCompleteWorkflowExecutionDecisionAttributesIsSet(boolean value)
public FailWorkflowExecutionDecisionAttributes getFailWorkflowExecutionDecisionAttributes()
public Decision setFailWorkflowExecutionDecisionAttributes(FailWorkflowExecutionDecisionAttributes failWorkflowExecutionDecisionAttributes)
public void unsetFailWorkflowExecutionDecisionAttributes()
public boolean isSetFailWorkflowExecutionDecisionAttributes()
public void setFailWorkflowExecutionDecisionAttributesIsSet(boolean value)
public RequestCancelActivityTaskDecisionAttributes getRequestCancelActivityTaskDecisionAttributes()
public Decision setRequestCancelActivityTaskDecisionAttributes(RequestCancelActivityTaskDecisionAttributes requestCancelActivityTaskDecisionAttributes)
public void unsetRequestCancelActivityTaskDecisionAttributes()
public boolean isSetRequestCancelActivityTaskDecisionAttributes()
public void setRequestCancelActivityTaskDecisionAttributesIsSet(boolean value)
public CancelTimerDecisionAttributes getCancelTimerDecisionAttributes()
public Decision setCancelTimerDecisionAttributes(CancelTimerDecisionAttributes cancelTimerDecisionAttributes)
public void unsetCancelTimerDecisionAttributes()
public boolean isSetCancelTimerDecisionAttributes()
public void setCancelTimerDecisionAttributesIsSet(boolean value)
public CancelWorkflowExecutionDecisionAttributes getCancelWorkflowExecutionDecisionAttributes()
public Decision setCancelWorkflowExecutionDecisionAttributes(CancelWorkflowExecutionDecisionAttributes cancelWorkflowExecutionDecisionAttributes)
public void unsetCancelWorkflowExecutionDecisionAttributes()
public boolean isSetCancelWorkflowExecutionDecisionAttributes()
public void setCancelWorkflowExecutionDecisionAttributesIsSet(boolean value)
public RequestCancelExternalWorkflowExecutionDecisionAttributes getRequestCancelExternalWorkflowExecutionDecisionAttributes()
public Decision setRequestCancelExternalWorkflowExecutionDecisionAttributes(RequestCancelExternalWorkflowExecutionDecisionAttributes requestCancelExternalWorkflowExecutionDecisionAttributes)
public void unsetRequestCancelExternalWorkflowExecutionDecisionAttributes()
public boolean isSetRequestCancelExternalWorkflowExecutionDecisionAttributes()
public void setRequestCancelExternalWorkflowExecutionDecisionAttributesIsSet(boolean value)
public RecordMarkerDecisionAttributes getRecordMarkerDecisionAttributes()
public Decision setRecordMarkerDecisionAttributes(RecordMarkerDecisionAttributes recordMarkerDecisionAttributes)
public void unsetRecordMarkerDecisionAttributes()
public boolean isSetRecordMarkerDecisionAttributes()
public void setRecordMarkerDecisionAttributesIsSet(boolean value)
public ContinueAsNewWorkflowExecutionDecisionAttributes getContinueAsNewWorkflowExecutionDecisionAttributes()
public Decision setContinueAsNewWorkflowExecutionDecisionAttributes(ContinueAsNewWorkflowExecutionDecisionAttributes continueAsNewWorkflowExecutionDecisionAttributes)
public void unsetContinueAsNewWorkflowExecutionDecisionAttributes()
public boolean isSetContinueAsNewWorkflowExecutionDecisionAttributes()
public void setContinueAsNewWorkflowExecutionDecisionAttributesIsSet(boolean value)
public StartChildWorkflowExecutionDecisionAttributes getStartChildWorkflowExecutionDecisionAttributes()
public Decision setStartChildWorkflowExecutionDecisionAttributes(StartChildWorkflowExecutionDecisionAttributes startChildWorkflowExecutionDecisionAttributes)
public void unsetStartChildWorkflowExecutionDecisionAttributes()
public boolean isSetStartChildWorkflowExecutionDecisionAttributes()
public void setStartChildWorkflowExecutionDecisionAttributesIsSet(boolean value)
public SignalExternalWorkflowExecutionDecisionAttributes getSignalExternalWorkflowExecutionDecisionAttributes()
public Decision setSignalExternalWorkflowExecutionDecisionAttributes(SignalExternalWorkflowExecutionDecisionAttributes signalExternalWorkflowExecutionDecisionAttributes)
public void unsetSignalExternalWorkflowExecutionDecisionAttributes()
public boolean isSetSignalExternalWorkflowExecutionDecisionAttributes()
public void setSignalExternalWorkflowExecutionDecisionAttributesIsSet(boolean value)
public UpsertWorkflowSearchAttributesDecisionAttributes getUpsertWorkflowSearchAttributesDecisionAttributes()
public Decision setUpsertWorkflowSearchAttributesDecisionAttributes(UpsertWorkflowSearchAttributesDecisionAttributes upsertWorkflowSearchAttributesDecisionAttributes)
public void unsetUpsertWorkflowSearchAttributesDecisionAttributes()
public boolean isSetUpsertWorkflowSearchAttributesDecisionAttributes()
public void setUpsertWorkflowSearchAttributesDecisionAttributesIsSet(boolean value)
public void setFieldValue(Decision._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<Decision,Decision._Fields>
public java.lang.Object getFieldValue(Decision._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<Decision,Decision._Fields>
public boolean isSet(Decision._Fields field)
isSet
in interface org.apache.thrift.TBase<Decision,Decision._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(Decision that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(Decision other)
compareTo
in interface java.lang.Comparable<Decision>
public Decision._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<Decision,Decision._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<Decision,Decision._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<Decision,Decision._Fields>
org.apache.thrift.TException
public java.lang.String toString()
toString
in class java.lang.Object
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException