Class ActivityTypeDetail

    • Constructor Detail

      • ActivityTypeDetail

        public ActivityTypeDetail()
    • Method Detail

      • setTypeInfo

        public void setTypeInfo​(ActivityTypeInfo typeInfo)

        General information about the activity type.

        The status of activity type (returned in the ActivityTypeInfo 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 DeprecateActivityType, but is still in use. You should keep workers supporting this type running. You cannot create new tasks of this type.
        Parameters:
        typeInfo - General information about the activity type.

        The status of activity type (returned in the ActivityTypeInfo 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 DeprecateActivityType, but is still in use. You should keep workers supporting this type running. You cannot create new tasks of this type.
      • getTypeInfo

        public ActivityTypeInfo getTypeInfo()

        General information about the activity type.

        The status of activity type (returned in the ActivityTypeInfo 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 DeprecateActivityType, but is still in use. You should keep workers supporting this type running. You cannot create new tasks of this type.
        Returns:
        General information about the activity type.

        The status of activity type (returned in the ActivityTypeInfo 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 DeprecateActivityType, but is still in use. You should keep workers supporting this type running. You cannot create new tasks of this type.
      • withTypeInfo

        public ActivityTypeDetail withTypeInfo​(ActivityTypeInfo typeInfo)

        General information about the activity type.

        The status of activity type (returned in the ActivityTypeInfo 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 DeprecateActivityType, but is still in use. You should keep workers supporting this type running. You cannot create new tasks of this type.
        Parameters:
        typeInfo - General information about the activity type.

        The status of activity type (returned in the ActivityTypeInfo 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 DeprecateActivityType, but is still in use. You should keep workers supporting this type running. You cannot create new tasks of this type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setConfiguration

        public void setConfiguration​(ActivityTypeConfiguration configuration)

        The configuration settings registered with the activity type.

        Parameters:
        configuration - The configuration settings registered with the activity type.
      • getConfiguration

        public ActivityTypeConfiguration getConfiguration()

        The configuration settings registered with the activity type.

        Returns:
        The configuration settings registered with the activity type.
      • withConfiguration

        public ActivityTypeDetail withConfiguration​(ActivityTypeConfiguration configuration)

        The configuration settings registered with the activity type.

        Parameters:
        configuration - The configuration settings registered with the activity 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