|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EnabledCondition
An encapsulation of the conditional logic to decide whether to display and configure a given
ObjectConfigurationProperty
. Implementers may declare the specific class to use via the
enabled-config
on ObjectConfigurationProperty entities to make the display of the property
dependent on the result returned by the {#isEnabled} method.
EnabledCondition objects are constructed by reflection and MUST have a default no-arg constructor.
Nested Class Summary | |
---|---|
static class |
EnabledCondition.Factory
Factory for constructing EnabledCondition instances. |
Field Summary | |
---|---|
static EnabledCondition |
TRUE
A condition that means always enabled. |
Method Summary | |
---|---|
boolean |
isEnabled()
Whether or not to display and use an ObjectConfigurationProperty for the given User . |
Field Detail |
---|
static final EnabledCondition TRUE
Method Detail |
---|
boolean isEnabled()
User
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |