Class ActionRef.EnabledRule
java.lang.Object
org.apache.juneau.console.widgets.ActionRef.EnabledRule
- Enclosing class:
- ActionRef
One row-state rule gating an
ActionRef.
Built by ActionRef.enabledWhen(String,Op,Object,String), which is the only shape that can produce a
well-formed one; a hand-assembled instance is checked again at serve time, so neither route
can smuggle a rule with no reason past the bar.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
field
The row field this rule tests. Must not be blank. -
op
The comparison operator. Must not benull . -
value
-
reason
Why the action is unavailable when this rule does not match. Required — must not be blank.
-
-
Constructor Details
-
EnabledRule
public EnabledRule()
-