Enum EEndUserStatePreset

java.lang.Object
java.lang.Enum<EEndUserStatePreset>
de.xima.fc.common.bean_models.workflow.state.EEndUserStatePreset
All Implemented Interfaces:
INamedUiElement, Serializable, Comparable<EEndUserStatePreset>

public enum EEndUserStatePreset extends Enum<EEndUserStatePreset> implements INamedUiElement
Presets for end user states for the workflow designer. Users can select a preset, which fills the configuration with corresponding default values.
Since:
8.2.0
  • Enum Constant Details

  • Method Details

    • values

      public static EEndUserStatePreset[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static EEndUserStatePreset valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • isTerminalState

      public boolean isTerminalState()
    • getIconStyleClass

      public String getIconStyleClass()
    • getHexColorText

      public String getHexColorText()
    • getHexColorBackground

      public String getHexColorBackground()
    • getDescriptionI18nKey

      public String getDescriptionI18nKey()
    • getDisplayNameI18nKey

      public String getDisplayNameI18nKey()
    • applyToEndUserState

      public void applyToEndUserState(EndUserStateConfigViewModel portalConfig, List<Locale> localesToApply)
    • getDisplayName

      public String getDisplayName(Locale locale)
      Description copied from interface: INamedUiElement
      The display name of this element in the given locale.
      Specified by:
      getDisplayName in interface INamedUiElement
      Parameters:
      locale - The locale to get the display name for.
      Returns:
      The display name of this element in the given locale.