Package com.uber.cadence
Class WorkflowExecutionInfo
- java.lang.Object
-
- com.uber.cadence.WorkflowExecutionInfo
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<WorkflowExecutionInfo>
,org.apache.thrift.TBase<WorkflowExecutionInfo,WorkflowExecutionInfo._Fields>
@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2024-04-11") public class WorkflowExecutionInfo extends java.lang.Object implements org.apache.thrift.TBase<WorkflowExecutionInfo,WorkflowExecutionInfo._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<WorkflowExecutionInfo>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WorkflowExecutionInfo._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description ResetPoints
autoResetPoints
WorkflowExecutionCloseStatus
closeStatus
long
closeTime
WorkflowExecution
execution
long
executionTime
long
historyLength
boolean
isCron
Memo
memo
static java.util.Map<WorkflowExecutionInfo._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
java.lang.String
parentDomainId
WorkflowExecution
parentExecution
SearchAttributes
searchAttributes
long
startTime
java.lang.String
taskList
WorkflowType
type
-
Constructor Summary
Constructors Constructor Description WorkflowExecutionInfo()
WorkflowExecutionInfo(WorkflowExecutionInfo other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
compareTo(WorkflowExecutionInfo other)
WorkflowExecutionInfo
deepCopy()
boolean
equals(WorkflowExecutionInfo that)
boolean
equals(java.lang.Object that)
WorkflowExecutionInfo._Fields
fieldForId(int fieldId)
ResetPoints
getAutoResetPoints()
WorkflowExecutionCloseStatus
getCloseStatus()
long
getCloseTime()
WorkflowExecution
getExecution()
long
getExecutionTime()
java.lang.Object
getFieldValue(WorkflowExecutionInfo._Fields field)
long
getHistoryLength()
Memo
getMemo()
java.lang.String
getParentDomainId()
WorkflowExecution
getParentExecution()
SearchAttributes
getSearchAttributes()
long
getStartTime()
java.lang.String
getTaskList()
WorkflowType
getType()
int
hashCode()
boolean
isIsCron()
boolean
isSet(WorkflowExecutionInfo._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetAutoResetPoints()
Returns true if field autoResetPoints is set (has been assigned a value) and false otherwiseboolean
isSetCloseStatus()
Returns true if field closeStatus is set (has been assigned a value) and false otherwiseboolean
isSetCloseTime()
Returns true if field closeTime is set (has been assigned a value) and false otherwiseboolean
isSetExecution()
Returns true if field execution is set (has been assigned a value) and false otherwiseboolean
isSetExecutionTime()
Returns true if field executionTime is set (has been assigned a value) and false otherwiseboolean
isSetHistoryLength()
Returns true if field historyLength is set (has been assigned a value) and false otherwiseboolean
isSetIsCron()
Returns true if field isCron is set (has been assigned a value) and false otherwiseboolean
isSetMemo()
Returns true if field memo is set (has been assigned a value) and false otherwiseboolean
isSetParentDomainId()
Returns true if field parentDomainId is set (has been assigned a value) and false otherwiseboolean
isSetParentExecution()
Returns true if field parentExecution is set (has been assigned a value) and false otherwiseboolean
isSetSearchAttributes()
Returns true if field searchAttributes is set (has been assigned a value) and false otherwiseboolean
isSetStartTime()
Returns true if field startTime is set (has been assigned a value) and false otherwiseboolean
isSetTaskList()
Returns true if field taskList is set (has been assigned a value) and false otherwiseboolean
isSetType()
Returns true if field type is set (has been assigned a value) and false otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
WorkflowExecutionInfo
setAutoResetPoints(ResetPoints autoResetPoints)
void
setAutoResetPointsIsSet(boolean value)
WorkflowExecutionInfo
setCloseStatus(WorkflowExecutionCloseStatus closeStatus)
void
setCloseStatusIsSet(boolean value)
WorkflowExecutionInfo
setCloseTime(long closeTime)
void
setCloseTimeIsSet(boolean value)
WorkflowExecutionInfo
setExecution(WorkflowExecution execution)
void
setExecutionIsSet(boolean value)
WorkflowExecutionInfo
setExecutionTime(long executionTime)
void
setExecutionTimeIsSet(boolean value)
void
setFieldValue(WorkflowExecutionInfo._Fields field, java.lang.Object value)
WorkflowExecutionInfo
setHistoryLength(long historyLength)
void
setHistoryLengthIsSet(boolean value)
WorkflowExecutionInfo
setIsCron(boolean isCron)
void
setIsCronIsSet(boolean value)
WorkflowExecutionInfo
setMemo(Memo memo)
void
setMemoIsSet(boolean value)
WorkflowExecutionInfo
setParentDomainId(java.lang.String parentDomainId)
void
setParentDomainIdIsSet(boolean value)
WorkflowExecutionInfo
setParentExecution(WorkflowExecution parentExecution)
void
setParentExecutionIsSet(boolean value)
WorkflowExecutionInfo
setSearchAttributes(SearchAttributes searchAttributes)
void
setSearchAttributesIsSet(boolean value)
WorkflowExecutionInfo
setStartTime(long startTime)
void
setStartTimeIsSet(boolean value)
WorkflowExecutionInfo
setTaskList(java.lang.String taskList)
void
setTaskListIsSet(boolean value)
WorkflowExecutionInfo
setType(WorkflowType type)
void
setTypeIsSet(boolean value)
java.lang.String
toString()
void
unsetAutoResetPoints()
void
unsetCloseStatus()
void
unsetCloseTime()
void
unsetExecution()
void
unsetExecutionTime()
void
unsetHistoryLength()
void
unsetIsCron()
void
unsetMemo()
void
unsetParentDomainId()
void
unsetParentExecution()
void
unsetSearchAttributes()
void
unsetStartTime()
void
unsetTaskList()
void
unsetType()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
execution
public WorkflowExecution execution
-
type
public WorkflowType type
-
startTime
public long startTime
-
closeTime
public long closeTime
-
closeStatus
public WorkflowExecutionCloseStatus closeStatus
- See Also:
WorkflowExecutionCloseStatus
-
historyLength
public long historyLength
-
parentDomainId
public java.lang.String parentDomainId
-
parentExecution
public WorkflowExecution parentExecution
-
executionTime
public long executionTime
-
memo
public Memo memo
-
searchAttributes
public SearchAttributes searchAttributes
-
autoResetPoints
public ResetPoints autoResetPoints
-
taskList
public java.lang.String taskList
-
isCron
public boolean isCron
-
metaDataMap
public static final java.util.Map<WorkflowExecutionInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
WorkflowExecutionInfo
public WorkflowExecutionInfo()
-
WorkflowExecutionInfo
public WorkflowExecutionInfo(WorkflowExecutionInfo other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public WorkflowExecutionInfo deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<WorkflowExecutionInfo,WorkflowExecutionInfo._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<WorkflowExecutionInfo,WorkflowExecutionInfo._Fields>
-
getExecution
public WorkflowExecution getExecution()
-
setExecution
public WorkflowExecutionInfo setExecution(WorkflowExecution execution)
-
unsetExecution
public void unsetExecution()
-
isSetExecution
public boolean isSetExecution()
Returns true if field execution is set (has been assigned a value) and false otherwise
-
setExecutionIsSet
public void setExecutionIsSet(boolean value)
-
getType
public WorkflowType getType()
-
setType
public WorkflowExecutionInfo setType(WorkflowType type)
-
unsetType
public void unsetType()
-
isSetType
public boolean isSetType()
Returns true if field type is set (has been assigned a value) and false otherwise
-
setTypeIsSet
public void setTypeIsSet(boolean value)
-
getStartTime
public long getStartTime()
-
setStartTime
public WorkflowExecutionInfo setStartTime(long startTime)
-
unsetStartTime
public void unsetStartTime()
-
isSetStartTime
public boolean isSetStartTime()
Returns true if field startTime is set (has been assigned a value) and false otherwise
-
setStartTimeIsSet
public void setStartTimeIsSet(boolean value)
-
getCloseTime
public long getCloseTime()
-
setCloseTime
public WorkflowExecutionInfo setCloseTime(long closeTime)
-
unsetCloseTime
public void unsetCloseTime()
-
isSetCloseTime
public boolean isSetCloseTime()
Returns true if field closeTime is set (has been assigned a value) and false otherwise
-
setCloseTimeIsSet
public void setCloseTimeIsSet(boolean value)
-
getCloseStatus
public WorkflowExecutionCloseStatus getCloseStatus()
- See Also:
WorkflowExecutionCloseStatus
-
setCloseStatus
public WorkflowExecutionInfo setCloseStatus(WorkflowExecutionCloseStatus closeStatus)
- See Also:
WorkflowExecutionCloseStatus
-
unsetCloseStatus
public void unsetCloseStatus()
-
isSetCloseStatus
public boolean isSetCloseStatus()
Returns true if field closeStatus is set (has been assigned a value) and false otherwise
-
setCloseStatusIsSet
public void setCloseStatusIsSet(boolean value)
-
getHistoryLength
public long getHistoryLength()
-
setHistoryLength
public WorkflowExecutionInfo setHistoryLength(long historyLength)
-
unsetHistoryLength
public void unsetHistoryLength()
-
isSetHistoryLength
public boolean isSetHistoryLength()
Returns true if field historyLength is set (has been assigned a value) and false otherwise
-
setHistoryLengthIsSet
public void setHistoryLengthIsSet(boolean value)
-
getParentDomainId
public java.lang.String getParentDomainId()
-
setParentDomainId
public WorkflowExecutionInfo setParentDomainId(java.lang.String parentDomainId)
-
unsetParentDomainId
public void unsetParentDomainId()
-
isSetParentDomainId
public boolean isSetParentDomainId()
Returns true if field parentDomainId is set (has been assigned a value) and false otherwise
-
setParentDomainIdIsSet
public void setParentDomainIdIsSet(boolean value)
-
getParentExecution
public WorkflowExecution getParentExecution()
-
setParentExecution
public WorkflowExecutionInfo setParentExecution(WorkflowExecution parentExecution)
-
unsetParentExecution
public void unsetParentExecution()
-
isSetParentExecution
public boolean isSetParentExecution()
Returns true if field parentExecution is set (has been assigned a value) and false otherwise
-
setParentExecutionIsSet
public void setParentExecutionIsSet(boolean value)
-
getExecutionTime
public long getExecutionTime()
-
setExecutionTime
public WorkflowExecutionInfo setExecutionTime(long executionTime)
-
unsetExecutionTime
public void unsetExecutionTime()
-
isSetExecutionTime
public boolean isSetExecutionTime()
Returns true if field executionTime is set (has been assigned a value) and false otherwise
-
setExecutionTimeIsSet
public void setExecutionTimeIsSet(boolean value)
-
getMemo
public Memo getMemo()
-
setMemo
public WorkflowExecutionInfo setMemo(Memo memo)
-
unsetMemo
public void unsetMemo()
-
isSetMemo
public boolean isSetMemo()
Returns true if field memo is set (has been assigned a value) and false otherwise
-
setMemoIsSet
public void setMemoIsSet(boolean value)
-
getSearchAttributes
public SearchAttributes getSearchAttributes()
-
setSearchAttributes
public WorkflowExecutionInfo setSearchAttributes(SearchAttributes searchAttributes)
-
unsetSearchAttributes
public void unsetSearchAttributes()
-
isSetSearchAttributes
public boolean isSetSearchAttributes()
Returns true if field searchAttributes is set (has been assigned a value) and false otherwise
-
setSearchAttributesIsSet
public void setSearchAttributesIsSet(boolean value)
-
getAutoResetPoints
public ResetPoints getAutoResetPoints()
-
setAutoResetPoints
public WorkflowExecutionInfo setAutoResetPoints(ResetPoints autoResetPoints)
-
unsetAutoResetPoints
public void unsetAutoResetPoints()
-
isSetAutoResetPoints
public boolean isSetAutoResetPoints()
Returns true if field autoResetPoints is set (has been assigned a value) and false otherwise
-
setAutoResetPointsIsSet
public void setAutoResetPointsIsSet(boolean value)
-
getTaskList
public java.lang.String getTaskList()
-
setTaskList
public WorkflowExecutionInfo setTaskList(java.lang.String taskList)
-
unsetTaskList
public void unsetTaskList()
-
isSetTaskList
public boolean isSetTaskList()
Returns true if field taskList is set (has been assigned a value) and false otherwise
-
setTaskListIsSet
public void setTaskListIsSet(boolean value)
-
isIsCron
public boolean isIsCron()
-
setIsCron
public WorkflowExecutionInfo setIsCron(boolean isCron)
-
unsetIsCron
public void unsetIsCron()
-
isSetIsCron
public boolean isSetIsCron()
Returns true if field isCron is set (has been assigned a value) and false otherwise
-
setIsCronIsSet
public void setIsCronIsSet(boolean value)
-
setFieldValue
public void setFieldValue(WorkflowExecutionInfo._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<WorkflowExecutionInfo,WorkflowExecutionInfo._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(WorkflowExecutionInfo._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<WorkflowExecutionInfo,WorkflowExecutionInfo._Fields>
-
isSet
public boolean isSet(WorkflowExecutionInfo._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSet
in interfaceorg.apache.thrift.TBase<WorkflowExecutionInfo,WorkflowExecutionInfo._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(WorkflowExecutionInfo that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(WorkflowExecutionInfo other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<WorkflowExecutionInfo>
-
fieldForId
public WorkflowExecutionInfo._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<WorkflowExecutionInfo,WorkflowExecutionInfo._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<WorkflowExecutionInfo,WorkflowExecutionInfo._Fields>
- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
- Specified by:
write
in interfaceorg.apache.thrift.TBase<WorkflowExecutionInfo,WorkflowExecutionInfo._Fields>
- Throws:
org.apache.thrift.TException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
validate
public void validate() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-