| 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 Methods |
|
void
|
init(Map<String, String> params)
Called after creation and autowiring.
|
|
boolean
|
shouldDisplay(Map<String, Object> context)
Determine whether the web fragment should be displayed
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
From interface
com.atlassian.plugin.web.Condition
|
abstract
void
|
init(Map<String, String> params)
Called after creation and autowiring.
|
|
abstract
boolean
|
shouldDisplay(Map<String, Object> context)
Determine whether the web fragment should be displayed
|
|
Public Constructors
public
NeverDisplayCondition
()
Public Methods
public
void
init
(Map<String, String> params)
Called after creation and autowiring.
Parameters
| params
| The optional map of parameters specified in XML.
|
public
boolean
shouldDisplay
(Map<String, Object> context)
Determine whether the web fragment should be displayed
Returns
- true if the user should see the fragment, false otherwise