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

java.lang.Object
  extended by com.atlassian.confluence.plugin.descriptor.web.conditions.DelegatingCondition
All Implemented Interfaces:
com.atlassian.plugin.web.baseconditions.BaseCondition, com.atlassian.plugin.web.Condition

public class DelegatingCondition
extends java.lang.Object
implements com.atlassian.plugin.web.Condition

Delegates all calls to the Condition passed to the constructor. Handy for deprecated classes.


Constructor Summary
DelegatingCondition(com.atlassian.plugin.web.Condition delegate)
           
 
Method Summary
 void init(java.util.Map map)
           
 boolean shouldDisplay(java.util.Map map)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelegatingCondition

public DelegatingCondition(com.atlassian.plugin.web.Condition delegate)
Method Detail

init

public void init(java.util.Map map)
          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 map)
Specified by:
shouldDisplay in interface com.atlassian.plugin.web.Condition


Copyright © 2003-2014 Atlassian. All Rights Reserved.