Enum Class AssertCurrent
- All Implemented Interfaces:
Serializable, Comparable<AssertCurrent>, Constable
Whether an apply interceptor validates its current input before transforming it.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionbooleanenabled(boolean configuredDefault) Resolves this method's override against the owning application's configured default.static AssertCurrentReturns the enum constant of this class with the specified name.static AssertCurrent[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
Uses the application property, or its versioned default when that property is absent. -
ENABLED
Validates the current input, including inputs that the interceptor suppresses. -
DISABLED
Leaves legality checks to the effective updates produced by interception.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
enabled
public boolean enabled(boolean configuredDefault) Resolves this method's override against the owning application's configured default.
-