public class

NeverDisplayCondition

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

Class Overview

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

Summary

Public Constructors
NeverDisplayCondition()
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 NeverDisplayCondition ()

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