com.atlassian.plugin.web.conditions
Class OrCompositeCondition

java.lang.Object
  extended by com.atlassian.plugin.web.conditions.AbstractCompositeCondition
      extended by com.atlassian.plugin.web.conditions.OrCompositeCondition
All Implemented Interfaces:
Condition

public class OrCompositeCondition
extends AbstractCompositeCondition


Field Summary
 
Fields inherited from class com.atlassian.plugin.web.conditions.AbstractCompositeCondition
conditions
 
Constructor Summary
OrCompositeCondition()
           
 
Method Summary
 boolean shouldDisplay(Map<String,Object> context)
          Determine whether the web fragment should be displayed
 
Methods inherited from class com.atlassian.plugin.web.conditions.AbstractCompositeCondition
addCondition, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrCompositeCondition

public OrCompositeCondition()
Method Detail

shouldDisplay

public boolean shouldDisplay(Map<String,Object> context)
Description copied from interface: Condition
Determine whether the web fragment should be displayed

Specified by:
shouldDisplay in interface Condition
Specified by:
shouldDisplay in class AbstractCompositeCondition
Returns:
true if the user should see the fragment, false otherwise


Copyright © 2011 Atlassian. All Rights Reserved.