View Javadoc
1   package org.apache.maven.shared.repository.model;
2   
3   /*
4    * Licensed to the Apache Software Foundation (ASF) under one
5    * or more contributor license agreements.  See the NOTICE file
6    * distributed with this work for additional information
7    * regarding copyright ownership.  The ASF licenses this file
8    * to you under the Apache License, Version 2.0 (the
9    * "License"); you may not use this file except in compliance
10   * with the License.  You may obtain a copy of the License at
11   *
12   *   http://www.apache.org/licenses/LICENSE-2.0
13   *
14   * Unless required by applicable law or agreed to in writing,
15   * software distributed under the License is distributed on an
16   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17   * KIND, either express or implied.  See the License for the
18   * specific language governing permissions and limitations
19   * under the License.
20   */
21  
22  import org.apache.maven.artifact.Artifact;
23  
24  import java.util.List;
25  
26  /**
27   * 
28   */
29  public class DefaultRepositoryInfo
30      implements RepositoryInfo
31  {
32  
33      private boolean includeMetadata;
34  
35      private String scope = Artifact.SCOPE_COMPILE;
36  
37      private List includes;
38  
39      private List groupVersionAlignments;
40  
41      private List excludes;
42  
43      public List getExcludes()
44      {
45          return excludes;
46      }
47  
48      public void setGroupVersionAlignments( List groupVersionAlignments )
49      {
50          this.groupVersionAlignments = groupVersionAlignments;
51      }
52  
53      public void setIncludeMetadata( boolean includeMetadata )
54      {
55          this.includeMetadata = includeMetadata;
56      }
57  
58      public void setIncludes( List includes )
59      {
60          this.includes = includes;
61      }
62  
63      public void setScope( String scope )
64      {
65          this.scope = scope;
66      }
67  
68      public List getGroupVersionAlignments()
69      {
70          return groupVersionAlignments;
71      }
72  
73      public List getIncludes()
74      {
75          return includes;
76      }
77  
78      public String getScope()
79      {
80          return scope;
81      }
82  
83      public boolean isIncludeMetadata()
84      {
85          return includeMetadata;
86      }
87  
88      public void setExcludes( List excludes )
89      {
90          this.excludes = excludes;
91      }
92  
93  }