Class HasPageCondition
- java.lang.Object
-
- com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
-
- com.atlassian.confluence.plugin.descriptor.web.conditions.HasPageCondition
-
- All Implemented Interfaces:
com.atlassian.plugin.web.baseconditions.BaseCondition
,com.atlassian.plugin.web.Condition
public class HasPageCondition extends BaseConfluenceCondition
Only display the link if the user is working with a page (as opposed to a blog post or some other content type)
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
CONTEXT_KEY_HELPER
-
-
Constructor Summary
Constructors Constructor Description HasPageCondition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
shouldDisplay(WebInterfaceContext context)
-
Methods inherited from class com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
init, shouldDisplay
-
-
-
-
Method Detail
-
shouldDisplay
public boolean shouldDisplay(WebInterfaceContext context)
- Specified by:
shouldDisplay
in classBaseConfluenceCondition
-
-