Coverage Report - org.apache.maven.shared.repository.model.DefaultRepositoryInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
DefaultRepositoryInfo
41 %
7/17
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.maven.shared.repository.model;
 20  
 
 21  
 import org.apache.maven.artifact.Artifact;
 22  
 
 23  
 import java.util.List;
 24  
 
 25  6
 public class DefaultRepositoryInfo
 26  
     implements RepositoryInfo
 27  
 {
 28  
 
 29  
     private boolean includeMetadata;
 30  
 
 31  6
     private String scope = Artifact.SCOPE_COMPILE;
 32  
 
 33  
     private List includes;
 34  
 
 35  
     private List groupVersionAlignments;
 36  
 
 37  
     private List excludes;
 38  
 
 39  
     public List getExcludes()
 40  
     {
 41  6
         return excludes;
 42  
     }
 43  
 
 44  
     public void setGroupVersionAlignments( List groupVersionAlignments )
 45  
     {
 46  0
         this.groupVersionAlignments = groupVersionAlignments;
 47  0
     }
 48  
 
 49  
     public void setIncludeMetadata( boolean includeMetadata )
 50  
     {
 51  0
         this.includeMetadata = includeMetadata;
 52  0
     }
 53  
 
 54  
     public void setIncludes( List includes )
 55  
     {
 56  0
         this.includes = includes;
 57  0
     }
 58  
 
 59  
     public void setScope( String scope )
 60  
     {
 61  0
         this.scope = scope;
 62  0
     }
 63  
 
 64  
     public List getGroupVersionAlignments()
 65  
     {
 66  6
         return groupVersionAlignments;
 67  
     }
 68  
 
 69  
     public List getIncludes()
 70  
     {
 71  6
         return includes;
 72  
     }
 73  
 
 74  
     public String getScope()
 75  
     {
 76  6
         return scope;
 77  
     }
 78  
 
 79  
     public boolean isIncludeMetadata()
 80  
     {
 81  6
         return includeMetadata;
 82  
     }
 83  
 
 84  
     public void setExcludes( List excludes )
 85  
     {
 86  0
         this.excludes = excludes;
 87  0
     }
 88  
 
 89  
 }