Class WorkflowTypeDetail

    • Constructor Detail

      • WorkflowTypeDetail

        public WorkflowTypeDetail()
    • Method Detail

      • setTypeInfo

        public void setTypeInfo​(WorkflowTypeInfo typeInfo)

        General information about the workflow type.

        The status of the workflow type (returned in the WorkflowTypeInfo structure) can be one of the following.

        • REGISTERED: The type is registered and available. Workers supporting this type should be running.
        • DEPRECATED: The type was deprecated using DeprecateWorkflowType, but is still in use. You should keep workers supporting this type running. You cannot create new workflow executions of this type.
        Parameters:
        typeInfo - General information about the workflow type.

        The status of the workflow type (returned in the WorkflowTypeInfo structure) can be one of the following.

        • REGISTERED: The type is registered and available. Workers supporting this type should be running.
        • DEPRECATED: The type was deprecated using DeprecateWorkflowType, but is still in use. You should keep workers supporting this type running. You cannot create new workflow executions of this type.
      • getTypeInfo

        public WorkflowTypeInfo getTypeInfo()

        General information about the workflow type.

        The status of the workflow type (returned in the WorkflowTypeInfo structure) can be one of the following.

        • REGISTERED: The type is registered and available. Workers supporting this type should be running.
        • DEPRECATED: The type was deprecated using DeprecateWorkflowType, but is still in use. You should keep workers supporting this type running. You cannot create new workflow executions of this type.
        Returns:
        General information about the workflow type.

        The status of the workflow type (returned in the WorkflowTypeInfo structure) can be one of the following.

        • REGISTERED: The type is registered and available. Workers supporting this type should be running.
        • DEPRECATED: The type was deprecated using DeprecateWorkflowType, but is still in use. You should keep workers supporting this type running. You cannot create new workflow executions of this type.
      • withTypeInfo

        public WorkflowTypeDetail withTypeInfo​(WorkflowTypeInfo typeInfo)

        General information about the workflow type.

        The status of the workflow type (returned in the WorkflowTypeInfo structure) can be one of the following.

        • REGISTERED: The type is registered and available. Workers supporting this type should be running.
        • DEPRECATED: The type was deprecated using DeprecateWorkflowType, but is still in use. You should keep workers supporting this type running. You cannot create new workflow executions of this type.
        Parameters:
        typeInfo - General information about the workflow type.

        The status of the workflow type (returned in the WorkflowTypeInfo structure) can be one of the following.

        • REGISTERED: The type is registered and available. Workers supporting this type should be running.
        • DEPRECATED: The type was deprecated using DeprecateWorkflowType, but is still in use. You should keep workers supporting this type running. You cannot create new workflow executions of this type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object