public class WorkflowTypeInfo
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains information about a workflow type.
Modifier and Type | Field and Description |
---|---|
private java.util.Date |
creationDate
The date when this type was registered.
|
private java.util.Date |
deprecationDate
If the type is in deprecated state, then it is set to the date when the
type was deprecated.
|
private java.lang.String |
description
The description of the type registered through
RegisterWorkflowType.
|
private java.lang.String |
status
The current status of the workflow type.
|
private WorkflowType |
workflowType
The workflow type this information is about.
|
Constructor and Description |
---|
WorkflowTypeInfo() |
Modifier and Type | Method and Description |
---|---|
WorkflowTypeInfo |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getCreationDate()
The date when this type was registered.
|
java.util.Date |
getDeprecationDate()
If the type is in deprecated state, then it is set to the date when the
type was deprecated.
|
java.lang.String |
getDescription()
The description of the type registered through
RegisterWorkflowType.
|
java.lang.String |
getStatus()
The current status of the workflow type.
|
WorkflowType |
getWorkflowType()
The workflow type this information is about.
|
int |
hashCode() |
void |
setCreationDate(java.util.Date creationDate)
The date when this type was registered.
|
void |
setDeprecationDate(java.util.Date deprecationDate)
If the type is in deprecated state, then it is set to the date when the
type was deprecated.
|
void |
setDescription(java.lang.String description)
The description of the type registered through
RegisterWorkflowType.
|
void |
setStatus(RegistrationStatus status)
The current status of the workflow type.
|
void |
setStatus(java.lang.String status)
The current status of the workflow type.
|
void |
setWorkflowType(WorkflowType workflowType)
The workflow type this information is about.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
WorkflowTypeInfo |
withCreationDate(java.util.Date creationDate)
The date when this type was registered.
|
WorkflowTypeInfo |
withDeprecationDate(java.util.Date deprecationDate)
If the type is in deprecated state, then it is set to the date when the
type was deprecated.
|
WorkflowTypeInfo |
withDescription(java.lang.String description)
The description of the type registered through
RegisterWorkflowType.
|
WorkflowTypeInfo |
withStatus(RegistrationStatus status)
The current status of the workflow type.
|
WorkflowTypeInfo |
withStatus(java.lang.String status)
The current status of the workflow type.
|
WorkflowTypeInfo |
withWorkflowType(WorkflowType workflowType)
The workflow type this information is about.
|
private WorkflowType workflowType
The workflow type this information is about.
private java.lang.String status
The current status of the workflow type.
private java.lang.String description
The description of the type registered through RegisterWorkflowType.
private java.util.Date creationDate
The date when this type was registered.
private java.util.Date deprecationDate
If the type is in deprecated state, then it is set to the date when the type was deprecated.
public void setWorkflowType(WorkflowType workflowType)
The workflow type this information is about.
workflowType
- The workflow type this information is about.public WorkflowType getWorkflowType()
The workflow type this information is about.
public WorkflowTypeInfo withWorkflowType(WorkflowType workflowType)
The workflow type this information is about.
workflowType
- The workflow type this information is about.public void setStatus(java.lang.String status)
The current status of the workflow type.
status
- The current status of the workflow type.RegistrationStatus
public java.lang.String getStatus()
The current status of the workflow type.
RegistrationStatus
public WorkflowTypeInfo withStatus(java.lang.String status)
The current status of the workflow type.
status
- The current status of the workflow type.RegistrationStatus
public void setStatus(RegistrationStatus status)
The current status of the workflow type.
status
- The current status of the workflow type.RegistrationStatus
public WorkflowTypeInfo withStatus(RegistrationStatus status)
The current status of the workflow type.
status
- The current status of the workflow type.RegistrationStatus
public void setDescription(java.lang.String description)
The description of the type registered through RegisterWorkflowType.
description
- The description of the type registered through
RegisterWorkflowType.public java.lang.String getDescription()
The description of the type registered through RegisterWorkflowType.
public WorkflowTypeInfo withDescription(java.lang.String description)
The description of the type registered through RegisterWorkflowType.
description
- The description of the type registered through
RegisterWorkflowType.public void setCreationDate(java.util.Date creationDate)
The date when this type was registered.
creationDate
- The date when this type was registered.public java.util.Date getCreationDate()
The date when this type was registered.
public WorkflowTypeInfo withCreationDate(java.util.Date creationDate)
The date when this type was registered.
creationDate
- The date when this type was registered.public void setDeprecationDate(java.util.Date deprecationDate)
If the type is in deprecated state, then it is set to the date when the type was deprecated.
deprecationDate
- If the type is in deprecated state, then it is set to the date
when the type was deprecated.public java.util.Date getDeprecationDate()
If the type is in deprecated state, then it is set to the date when the type was deprecated.
public WorkflowTypeInfo withDeprecationDate(java.util.Date deprecationDate)
If the type is in deprecated state, then it is set to the date when the type was deprecated.
deprecationDate
- If the type is in deprecated state, then it is set to the date
when the type was deprecated.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public WorkflowTypeInfo clone()
clone
in class java.lang.Object