Enum Class WebeditElementStatusProviderPlugin.State

java.lang.Object
java.lang.Enum<WebeditElementStatusProviderPlugin.State>
de.espirit.firstspirit.workflow.WebeditElementStatusProviderPlugin.State
All Implemented Interfaces:
Serializable, Comparable<WebeditElementStatusProviderPlugin.State>, Constable
Enclosing interface:
WebeditElementStatusProviderPlugin

public static enum WebeditElementStatusProviderPlugin.State extends Enum<WebeditElementStatusProviderPlugin.State>
Kind of release state of a given element.

The constants are ordered by increasing editorial urgency / distance from a released state: RELEASEDCHANGEDNEVER_RELEASEDIN_WORKFLOW. This ordering can be used to sort or prioritize elements in editorial dashboards (e.g. via Enum.ordinal() or Enum.compareTo(State)).

Since:
5.0.206
  • Enum Constant Details

    • RELEASED

      public static final WebeditElementStatusProviderPlugin.State RELEASED
      Release state: element is released.
      Since:
      5.0.206
    • CHANGED

      public static final WebeditElementStatusProviderPlugin.State CHANGED
      Release state: element has been changed.
      Since:
      5.0.206
    • NEVER_RELEASED

      public static final WebeditElementStatusProviderPlugin.State NEVER_RELEASED
      Release state: element has never been released since its creation.

      Returning this value is optional for plugin implementations: returning CHANGED for a never-released element remains valid. Implementations that want to expose the distinction between "modified after release" and "never released" should return NEVER_RELEASED in the latter case.

      Since:
      5.2.260904
    • IN_WORKFLOW

      public static final WebeditElementStatusProviderPlugin.State IN_WORKFLOW
      Release state: workflow is running.
      Since:
      5.0.206
  • Method Details

    • values

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

      public static WebeditElementStatusProviderPlugin.State valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null