public static enum ChangeDetectionPolicy.Mode extends Enum<ChangeDetectionPolicy.Mode>
Enum Constant and Description |
---|
Client
Client side validation.
|
None
No checks.
|
Server
Server side validation.
|
Warn
Warn but continue.
|
Modifier and Type | Method and Description |
---|---|
static ChangeDetectionPolicy.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChangeDetectionPolicy.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChangeDetectionPolicy.Mode Client
public static final ChangeDetectionPolicy.Mode Server
public static final ChangeDetectionPolicy.Mode Warn
public static final ChangeDetectionPolicy.Mode None
public static ChangeDetectionPolicy.Mode[] values()
for (ChangeDetectionPolicy.Mode c : ChangeDetectionPolicy.Mode.values()) System.out.println(c);
public static ChangeDetectionPolicy.Mode 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 nullCopyright © 2008–2024 Apache Software Foundation. All rights reserved.