Class AddNewStateData

  • All Implemented Interfaces:
    Serializable

    public final class AddNewStateData
    extends Object
    implements Serializable
    POJO model with the data for adding a new state in the workflow designer.
    Since:
    7.0.0
    Author:
    XIMA MEDIA GmbH
    See Also:
    Serialized Form
    • Constructor Detail

      • AddNewStateData

        public AddNewStateData​(String name,
                               String description)
        Creates a new POJO instance with the given data.
        Parameters:
        name - Value as returned by getName().
        description - Value as returned by getDescription().
    • Method Detail

      • getName

        public String getName()
        Returns:
        The name of the new state to be added. Must not be empty.
      • getDescription

        public String getDescription()
        Returns:
        The optional description of the new state. May be empty.
      • empty

        public static AddNewStateData empty()
        Returns:
        An empty POJO with no name and description.