com.atlassian.confluence.plugin.descriptor.web.conditions
Class ConfluenceFlavourCondition

java.lang.Object
  extended by 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 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

Constructor Summary
ConfluenceFlavourCondition()
           
 
Method Summary
 void init(Map<String,String> params)
           
 void setConfluenceFlavourService(ConfluenceFlavourService confluenceFlavourService)
           
 boolean shouldDisplay(Map<String,Object> context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfluenceFlavourCondition

public ConfluenceFlavourCondition()
Method Detail

init

public void init(Map<String,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(Map<String,Object> context)
Specified by:
shouldDisplay in interface com.atlassian.plugin.web.Condition

setConfluenceFlavourService

public void setConfluenceFlavourService(ConfluenceFlavourService confluenceFlavourService)


Copyright © 2003–2015 Atlassian. All rights reserved.