Package org.alfresco.repo.policy
Enum Behaviour.NotificationFrequency
- java.lang.Object
-
- java.lang.Enum<Behaviour.NotificationFrequency>
-
- org.alfresco.repo.policy.Behaviour.NotificationFrequency
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Behaviour.NotificationFrequency>
- Enclosing interface:
- Behaviour
@AlfrescoPublicApi public static enum Behaviour.NotificationFrequency extends java.lang.Enum<Behaviour.NotificationFrequency>
When should behaviour be notified?
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EVERY_EVENTFIRST_EVENTTRANSACTION_COMMIT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Behaviour.NotificationFrequencyvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Behaviour.NotificationFrequency[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EVERY_EVENT
public static final Behaviour.NotificationFrequency EVERY_EVENT
-
FIRST_EVENT
public static final Behaviour.NotificationFrequency FIRST_EVENT
-
TRANSACTION_COMMIT
public static final Behaviour.NotificationFrequency TRANSACTION_COMMIT
-
-
Method Detail
-
values
public static Behaviour.NotificationFrequency[] 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 (Behaviour.NotificationFrequency c : Behaviour.NotificationFrequency.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Behaviour.NotificationFrequency valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-