public class

AlwaysDisplayCondition

extends Object
implements Condition
java.lang.Object
   ↳ com.atlassian.plugin.web.conditions.AlwaysDisplayCondition

Class Overview

Always show a web link. Not really useful for anything except testing

Summary

Public Constructors
AlwaysDisplayCondition()
Public Methods
void init(Map<StringString> params)
Called after creation and autowiring.
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

Public Constructors

public AlwaysDisplayCondition ()

Public Methods

public void init (Map<StringString> params)

Called after creation and autowiring.

Parameters
params The optional map of parameters specified in XML.

public boolean shouldDisplay (Map<StringObject> context)

Determine whether the web fragment should be displayed

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