Coverage Report - org.openpermis.policy.ActionCollection
 
Classes in this File Line Coverage Branch Coverage Complexity
ActionCollection
N/A
N/A
1
 
 1  
 /*
 2  
  * Copyright (c) 2009, Swiss Federal Department of Defence Civil Protection and Sport
 3  
  *                     (http://www.vbs.admin.ch)
 4  
  * Copyright (c) 2009, Ergon Informatik AG (http://www.ergon.ch)
 5  
  * All rights reserved.
 6  
  *
 7  
  * Licensed under the Open Permis License which accompanies this distribution,
 8  
  * and is available at http://www.openpermis.org/BSDlicenceKent.txt
 9  
  */
 10  
 package org.openpermis.policy;
 11  
 
 12  
 import java.util.List;
 13  
 
 14  
 
 15  
 /**
 16  
  * A collection of {@link Action}'s.
 17  
  * @since 0.3.0
 18  
  */
 19  
 public interface ActionCollection extends Part {
 20  
 
 21  
         //---- Methods
 22  
         
 23  
         /**
 24  
          * Returns an action of this action collection which matches the action name and the list of 
 25  
          * arguments.
 26  
          * @param actionName the name of the action.
 27  
          * @param arguments an optional list of arguments to match.
 28  
          * @return the action which match or <code>null</code> if no such action exists.
 29  
          * @since 0.1.0
 30  
          */
 31  
         Action findMatch (String actionName, List<?> arguments);
 32  
 
 33  
 }