Package org.alfresco.repo.event2
Enum EventJSONSchema
- java.lang.Object
-
- java.lang.Enum<EventJSONSchema>
-
- org.alfresco.repo.event2.EventJSONSchema
-
- All Implemented Interfaces:
Serializable,Comparable<EventJSONSchema>
public enum EventJSONSchema extends Enum<EventJSONSchema>
- Author:
- Jamal Kaabi-Mofrad
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHILD_ASSOC_CREATED_V1CHILD_ASSOC_DELETED_V1NODE_CREATED_V1NODE_DELETED_V1NODE_UPDATED_V1PEER_ASSOC_CREATED_V1PEER_ASSOC_DELETED_V1
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description URIgetSchema()static URIgetSchema(EventType eventType, int version)static URIgetSchemaV1(EventType eventType)static EventJSONSchemavalueOf(String name)Returns the enum constant of this type with the specified name.static EventJSONSchema[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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
-
-
Method Detail
-
values
public static EventJSONSchema[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EventJSONSchema c : EventJSONSchema.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EventJSONSchema 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 nameNullPointerException- if the argument is null
-
getSchema
public URI getSchema()
-
-