public interface

EnabledCondition

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. 
Fields
public static final EnabledCondition TRUE A condition that means always enabled.
Public Methods
boolean isEnabled()
Whether or not to display and use an ObjectConfigurationProperty for the given User.

Fields

public static final EnabledCondition TRUE

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.