1 package com.atlassian.plugin.web.conditions;
2
3 import com.atlassian.plugin.web.Condition;
4
5 import java.util.Iterator;
6 import java.util.Map;
7
8 public class AndCompositeCondition extends AbstractCompositeCondition
9 {
10 public boolean shouldDisplay(Map<String,Object> context)
11 {
12 for (Condition condition : conditions)
13 {
14 if (!condition.shouldDisplay(context))
15 return false;
16 }
17
18 return true;
19 }
20 }