Enum Class EventJSONSchema

java.lang.Object
java.lang.Enum<EventJSONSchema>
org.alfresco.repo.event2.EventJSONSchema
All Implemented Interfaces:
Serializable, Comparable<EventJSONSchema>, Constable

public enum EventJSONSchema extends Enum<EventJSONSchema>
Author:
Jamal Kaabi-Mofrad
  • Enum Constant Details

    • NODE_CREATED_V1

      public static final EventJSONSchema NODE_CREATED_V1
    • NODE_UPDATED_V1

      public static final EventJSONSchema NODE_UPDATED_V1
    • NODE_DELETED_V1

      public static final EventJSONSchema NODE_DELETED_V1
    • CHILD_ASSOC_CREATED_V1

      public static final EventJSONSchema CHILD_ASSOC_CREATED_V1
    • CHILD_ASSOC_DELETED_V1

      public static final EventJSONSchema CHILD_ASSOC_DELETED_V1
    • PEER_ASSOC_CREATED_V1

      public static final EventJSONSchema PEER_ASSOC_CREATED_V1
    • PEER_ASSOC_DELETED_V1

      public static final EventJSONSchema PEER_ASSOC_DELETED_V1
    • PERMISSION_UPDATED_V1

      public static final EventJSONSchema PERMISSION_UPDATED_V1
  • Method Details

    • values

      public static EventJSONSchema[] 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 EventJSONSchema 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
    • getSchema

      public URI getSchema()
    • getSchemaV1

      public static URI getSchemaV1(org.alfresco.repo.event.v1.model.EventType eventType)
    • getSchema

      public static URI getSchema(org.alfresco.repo.event.v1.model.EventType eventType, int version)