Enum Class UrlEvent.Type

java.lang.Object
java.lang.Enum<UrlEvent.Type>
de.espirit.firstspirit.event.UrlEvent.Type
All Implemented Interfaces:
Serializable, Comparable<UrlEvent.Type>, Constable
Enclosing class:
UrlEvent

public static enum UrlEvent.Type extends Enum<UrlEvent.Type>
Allows for distinguishing different event types.
Since:
5.2.230801
  • Enum Constant Details

    • SET

      public static final UrlEvent.Type SET
      A URL is (initially) persisted, e.g. during a generation of a project.
      Since:
      5.2.230801
    • RESET

      public static final UrlEvent.Type RESET
      A URL is reset, e.g. by clicking "Reset stored URLs" in SiteArchitect
      Since:
      5.2.230801
  • Method Details

    • values

      public static UrlEvent.Type[] 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 UrlEvent.Type 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