public static enum ActiveDataModel.ActiveDataPolicy extends Enum<ActiveDataModel.ActiveDataPolicy>
| Enum Constant and Description |
|---|
ACTIVE
Model will generate active events, and the events should be encoded and sent to client.
|
PPR
Model will generate active events, and components bound to the model should be marked as PPR targets when the events occur.
|
STATIC
Model will not generate any active events
|
| Modifier and Type | Method and Description |
|---|---|
static ActiveDataModel.ActiveDataPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ActiveDataModel.ActiveDataPolicy[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final ActiveDataModel.ActiveDataPolicy STATIC
public static final ActiveDataModel.ActiveDataPolicy ACTIVE
public static final ActiveDataModel.ActiveDataPolicy PPR
public static ActiveDataModel.ActiveDataPolicy[] values()
for (ActiveDataModel.ActiveDataPolicy c : ActiveDataModel.ActiveDataPolicy.values())
System.out.println(c);
public static ActiveDataModel.ActiveDataPolicy 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 null