@PublicSpi public interface

EnabledCondition

com.atlassian.configurable.EnabledCondition
Known Indirect Subclasses

@PublicSpi

This interface is designed for plugins to implement.

Clients of @PublicSpi can expect that programs compiled against a given version will remain binary compatible with later versions of the @PublicSpi as per each product's API policy (clients should refer to each product's API policy for the exact guarantee -- usually binary compatibility is guaranteed at least across minor versions).

Note: @PublicSpi interfaces and classes are specifically designed to be implemented/extended by clients. Hence, the guarantee of binary compatibility is different to that of @PublicApi elements (if an element is both @PublicApi and @PublicSpi, both guarantees apply).

Class Overview

Determines whether a property should be displayed and configured. Can be used as a condition for a ObjectConfigurationProperty.

Summary

Fields
public static final EnabledCondition TRUE A condition that means always enabled.
Public Methods
boolean isEnabled()
Whether or not to display and use a property.

Fields

public static final EnabledCondition TRUE

A condition that means always enabled.

Public Methods

public boolean isEnabled ()

Whether or not to display and use a property.

Returns
  • true only if the property is enabled in the current context.