1   package org.weda.action;
2   
3   import java.util.HashSet;
4   import java.util.List;
5   import java.util.Map;
6   import java.util.Set;
7   
8   /**
9    *
10   * @author tim
11   */
12  public class TestActionContainer implements ActionContainer {
13      private Set<Class> disabledActions = 
14              new HashSet<Class>();    
15      
16      public void addDisabledAction(Class actionClass){
17          disabledActions.add(actionClass);
18      }
19      
20  
21      public String getActionContainerName() {
22          return "test-action-container";
23      }
24  
25      public Set<Class> getDisabledActions() {
26          return disabledActions;
27      }
28  
29      public List<ActionState> getActionsStates() 
30          throws ActionRegistryException 
31      {
32          return null;
33      }
34  
35      public ExecutedActionInfo executeAction(ActionExecutionContext context) 
36          throws ActionRegistryException 
37      {
38          return null;
39      }
40  
41      public boolean hasRegisteredActions() {
42          return false;
43      }
44      
45      
46  }