public interface

Condition

com.atlassian.plugin.web.Condition
Known Indirect Subclasses

Class Overview

Decides whether a web section or web item should be displayed

Summary

Public Methods
abstract void init(Map<StringString> params)
Called after creation and autowiring.
abstract boolean shouldDisplay(Map<StringObject> context)
Determine whether the web fragment should be displayed

Public Methods

public abstract 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