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

public class DelegatingCondition extends Object implements com.atlassian.plugin.web.Condition
Delegates all calls to the Condition passed to the constructor. Handy for deprecated classes.
  • Constructor Details

    • DelegatingCondition

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

    • init

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