Enum Class ObjectEvent

java.lang.Object
java.lang.Enum<ObjectEvent>
io.bdeploy.jersey.ws.change.msg.ObjectEvent
All Implemented Interfaces:
Serializable, Comparable<ObjectEvent>, Constable

public enum ObjectEvent extends Enum<ObjectEvent>
Determines what change happened in an ObjectChangeDto.
  • Enum Constant Details

    • CREATED

      public static final ObjectEvent CREATED
      The specified object has been created.
    • CHANGED

      public static final ObjectEvent CHANGED
      The specified object has changed. This typically refers to information closely attached to the specified object which is usually fetched along with the object, making up the overall user-perception of the specified object. The details may hold additional information.
    • REMOVED

      public static final ObjectEvent REMOVED
      The object has been removed.
  • Method Details

    • values

      public static ObjectEvent[] 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 ObjectEvent 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