Class WorkflowTypeInfo
- All Implemented Interfaces:
Serializable
,Cloneable
Contains information about a workflow type.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The date when this type was registered.If the type is in deprecated state, then it is set to the date when the type was deprecated.The description of the type registered through RegisterWorkflowType.The current status of the workflow type.The workflow type this information is about.int
hashCode()
void
setCreationDate
(Date creationDate) The date when this type was registered.void
setDeprecationDate
(Date deprecationDate) If the type is in deprecated state, then it is set to the date when the type was deprecated.void
setDescription
(String description) The description of the type registered through RegisterWorkflowType.void
setStatus
(RegistrationStatus status) The current status of the workflow type.void
The current status of the workflow type.void
setWorkflowType
(WorkflowType workflowType) The workflow type this information is about.toString()
Returns a string representation of this object; useful for testing and debugging.withCreationDate
(Date creationDate) The date when this type was registered.withDeprecationDate
(Date deprecationDate) If the type is in deprecated state, then it is set to the date when the type was deprecated.withDescription
(String description) The description of the type registered through RegisterWorkflowType.withStatus
(RegistrationStatus status) The current status of the workflow type.withStatus
(String status) The current status of the workflow type.withWorkflowType
(WorkflowType workflowType) The workflow type this information is about.
-
Constructor Details
-
WorkflowTypeInfo
public WorkflowTypeInfo()
-
-
Method Details
-
setWorkflowType
The workflow type this information is about.
- Parameters:
workflowType
- The workflow type this information is about.
-
getWorkflowType
The workflow type this information is about.
- Returns:
- The workflow type this information is about.
-
withWorkflowType
The workflow type this information is about.
- Parameters:
workflowType
- The workflow type this information is about.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
The current status of the workflow type.
- Parameters:
status
- The current status of the workflow type.- See Also:
-
getStatus
The current status of the workflow type.
- Returns:
- The current status of the workflow type.
- See Also:
-
withStatus
The current status of the workflow type.
- Parameters:
status
- The current status of the workflow type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setStatus
The current status of the workflow type.
- Parameters:
status
- The current status of the workflow type.- See Also:
-
withStatus
The current status of the workflow type.
- Parameters:
status
- The current status of the workflow type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setDescription
The description of the type registered through RegisterWorkflowType.
- Parameters:
description
- The description of the type registered through RegisterWorkflowType.
-
getDescription
The description of the type registered through RegisterWorkflowType.
- Returns:
- The description of the type registered through RegisterWorkflowType.
-
withDescription
The description of the type registered through RegisterWorkflowType.
- Parameters:
description
- The description of the type registered through RegisterWorkflowType.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreationDate
The date when this type was registered.
- Parameters:
creationDate
- The date when this type was registered.
-
getCreationDate
The date when this type was registered.
- Returns:
- The date when this type was registered.
-
withCreationDate
The date when this type was registered.
- Parameters:
creationDate
- The date when this type was registered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDeprecationDate
If the type is in deprecated state, then it is set to the date when the type was deprecated.
- Parameters:
deprecationDate
- If the type is in deprecated state, then it is set to the date when the type was deprecated.
-
getDeprecationDate
If the type is in deprecated state, then it is set to the date when the type was deprecated.
- Returns:
- If the type is in deprecated state, then it is set to the date when the type was deprecated.
-
withDeprecationDate
If the type is in deprecated state, then it is set to the date when the type was deprecated.
- Parameters:
deprecationDate
- If the type is in deprecated state, then it is set to the date when the type was deprecated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-