Coverage Report - org.apache.myfaces.application._FlowNavigationStructure
 
Classes in this File Line Coverage Branch Coverage Complexity
_FlowNavigationStructure
0%
0/12
N/A
1
 
 1  
 /*
 2  
  * Licensed to the Apache Software Foundation (ASF) under one
 3  
  * or more contributor license agreements.  See the NOTICE file
 4  
  * distributed with this work for additional information
 5  
  * regarding copyright ownership.  The ASF licenses this file
 6  
  * to you under the Apache License, Version 2.0 (the
 7  
  * "License"); you may not use this file except in compliance
 8  
  * with the License.  You may obtain a copy of the License at
 9  
  *
 10  
  *   http://www.apache.org/licenses/LICENSE-2.0
 11  
  *
 12  
  * Unless required by applicable law or agreed to in writing,
 13  
  * software distributed under the License is distributed on an
 14  
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 15  
  * KIND, either express or implied.  See the License for the
 16  
  * specific language governing permissions and limitations
 17  
  * under the License.
 18  
  */
 19  
 package org.apache.myfaces.application;
 20  
 
 21  
 import java.util.ArrayList;
 22  
 import java.util.List;
 23  
 import java.util.Map;
 24  
 import java.util.Set;
 25  
 import javax.faces.application.NavigationCase;
 26  
 
 27  
 /**
 28  
  * This class contains the navigation structure of a flow, including
 29  
  * navigation rules.
 30  
  * 
 31  
  * @author Leonardo Uribe
 32  
  */
 33  
 class _FlowNavigationStructure
 34  
 {
 35  
     private String _definingDocumentId;
 36  
     private String _id;
 37  
     
 38  0
     private Map<String, Set<NavigationCase>> _navigationCases = null;
 39  0
     private List<_WildcardPattern> _wildcardKeys = new ArrayList<_WildcardPattern>();
 40  
 
 41  
     public _FlowNavigationStructure(String definingDocumentId, String id, 
 42  
         Map<String, Set<NavigationCase>> navigationCases, List<_WildcardPattern> wildcardKeys)
 43  0
     {
 44  0
         this._definingDocumentId = definingDocumentId;
 45  0
         this._id = id;
 46  0
         this._navigationCases = navigationCases;
 47  0
         this._wildcardKeys = wildcardKeys;
 48  0
     }
 49  
 
 50  
     public String getDefiningDocumentId()
 51  
     {
 52  0
         return _definingDocumentId;
 53  
     }
 54  
 
 55  
     public String getId()
 56  
     {
 57  0
         return _id;
 58  
     }
 59  
 
 60  
     public Map<String, Set<NavigationCase>> getNavigationCases()
 61  
     {
 62  0
         return _navigationCases;
 63  
     }
 64  
 
 65  
     public List<_WildcardPattern> getWildcardKeys()
 66  
     {
 67  0
         return _wildcardKeys;
 68  
     }
 69  
 }