public abstract class

AbstractCompositeCondition

extends Object
implements Condition
java.lang.Object
   ↳ com.atlassian.plugin.web.conditions.AbstractCompositeCondition
Known Direct Subclasses

Summary

Fields
protected List<Condition> conditions
Public Constructors
AbstractCompositeCondition()
Public Methods
void addCondition(Condition condition)
void init(Map<StringString> params)
Called after creation and autowiring.
abstract boolean shouldDisplay(Map<StringObject> context)
Determine whether the web fragment should be displayed
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.plugin.web.Condition

Fields

protected List<Condition> conditions

Public Constructors

public AbstractCompositeCondition ()

Public Methods

public void addCondition (Condition condition)

public void init (Map<StringString> params)

Called after creation and autowiring.

Parameters
params The optional map of parameters specified in XML.

public abstract boolean shouldDisplay (Map<StringObject> context)

Determine whether the web fragment should be displayed

Returns
  • true if the user should see the fragment, false otherwise