Enum Class Bound.Rule
- All Implemented Interfaces:
Serializable, Comparable<Bound.Rule>, Constable
- Enclosing class:
Bound
Which of ยง6.2.1's answers a
Bound states, and so its verdict.-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe schema'smaxlen, already enforced by the caller at the same header, so no number travels.The deployment's receiver cap, compared by the call:SofabError.LIMIT_EXCEEDEDpast it. -
Method Summary
Modifier and TypeMethodDescriptionstatic Bound.RuleReturns the enum constant of this class with the specified name.static Bound.Rule[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SCHEMA
The schema's owncountormaxlen, compared by the call:SofabError.INVALID_MSGpast it. SeeBound.schema(long). -
RECEIVER
The deployment's receiver cap, compared by the call:SofabError.LIMIT_EXCEEDEDpast it. SeeBound.receiver(long). -
CALLER_CHECKED
The schema'smaxlen, already enforced by the caller at the same header, so no number travels. SeeBound.SCHEMA_BOUNDED.
-
-
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
-