Enum Constant and Description |
---|
ALL
Indicates the Behaviour should be triggered at every event.
|
COMMIT
Indicates the Behaviour should be triggered at the end, at the commit of the transaction.
|
FIRST
Indicates the Behaviour should be triggered only at the start.
|
INHERITED_OR_ALL
Indicates that the value should be inherited or default to
ALL . |
Modifier and Type | Method and Description |
---|---|
org.alfresco.repo.policy.Behaviour.NotificationFrequency |
toNotificationFrequency() |
static Event |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Event[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Event FIRST
Behaviour.NotificationFrequency.FIRST_EVENT
public static final Event ALL
Behaviour.NotificationFrequency.EVERY_EVENT
public static final Event COMMIT
Behaviour.NotificationFrequency.TRANSACTION_COMMIT
public static final Event INHERITED_OR_ALL
ALL
. This effectively acts as a "null" value
for the ClassPolicy.event()
, AssociationPolicy.event()
and PropertyPolicy.event()
.public static Event[] values()
for (Event c : Event.values()) System.out.println(c);
public static Event valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic org.alfresco.repo.policy.Behaviour.NotificationFrequency toNotificationFrequency()