public enum TriggerOperation extends Enum<TriggerOperation>
Enum Constant and Description |
---|
All
All operations.
|
Create
Create operations only.
|
Delete
Delete operations only.
|
Replace
Replace operations only.
|
Update
Update operations only.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Gets the numerical value of the trigger operation.
|
static TriggerOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TriggerOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TriggerOperation All
public static final TriggerOperation Create
public static final TriggerOperation Update
public static final TriggerOperation Delete
public static final TriggerOperation Replace
public static TriggerOperation[] values()
for (TriggerOperation c : TriggerOperation.values()) System.out.println(c);
public static TriggerOperation valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
Copyright © 2018. All rights reserved.