com.atlassian.confluence.plugin.descriptor.web.conditions
Class ConfluenceFlavourCondition
java.lang.Object
com.atlassian.confluence.plugin.descriptor.web.conditions.ConfluenceFlavourCondition
- All Implemented Interfaces:
- com.atlassian.plugin.web.baseconditions.BaseCondition, com.atlassian.plugin.web.Condition
public class ConfluenceFlavourCondition
- extends java.lang.Object
- implements com.atlassian.plugin.web.Condition
Enables a plugin module based on the type of Confluence instance this is.
- Since:
- v4.1
- See Also:
ConfluenceFlavour
Method Summary |
void |
init(java.util.Map<java.lang.String,java.lang.String> params)
|
boolean |
shouldDisplay(java.util.Map<java.lang.String,java.lang.Object> context)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfluenceFlavourCondition
public ConfluenceFlavourCondition()
init
public void init(java.util.Map<java.lang.String,java.lang.String> params)
throws com.atlassian.plugin.PluginParseException
- Specified by:
init
in interface com.atlassian.plugin.web.Condition
- Throws:
com.atlassian.plugin.PluginParseException
shouldDisplay
public boolean shouldDisplay(java.util.Map<java.lang.String,java.lang.Object> context)
- Specified by:
shouldDisplay
in interface com.atlassian.plugin.web.Condition
Copyright © 2003-2013 Atlassian. All Rights Reserved.