com.atlassian.configurable.EnabledCondition |
Known Indirect Subclasses
|
Class Overview
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.
Summary
Nested Classes |
class |
EnabledCondition.Factory |
Factory for constructing EnabledCondition instances. |
Public Methods |
boolean
|
isEnabled()
Whether or not to display and use an ObjectConfigurationProperty for the given User .
|
Fields
A condition that means always enabled.
Public Methods
public
boolean
isEnabled
()
Whether or not to display and use an ObjectConfigurationProperty for the given User
.
Returns
- true only if the property is enabled in the current context.