1 package org.apache.archiva.admin.repository.admin;
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License. You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied. See the License for the
17 * specific language governing permissions and limitations
21 import org.apache.maven.archiva.configuration.FileType;
23 import java.io.Serializable;
24 import java.util.ArrayList;
25 import java.util.List;
28 * @author Olivier Lamy
30 public class RepositoryScanning
31 implements Serializable
36 private List<FileType> fileTypes;
39 * Field knownContentConsumers.
41 private List<String> knownContentConsumers;
44 * Field invalidContentConsumers.
46 private List<String> invalidContentConsumers;
48 public RepositoryScanning()
53 public RepositoryScanning( List<FileType> fileTypes, List<String> knownContentConsumers,
54 List<String> invalidContentConsumers )
56 this.fileTypes = fileTypes;
57 this.knownContentConsumers = knownContentConsumers;
58 this.invalidContentConsumers = invalidContentConsumers;
61 public List<FileType> getFileTypes()
63 if ( this.fileTypes == null )
65 this.fileTypes = new ArrayList<FileType>();
70 public void setFileTypes( List<FileType> fileTypes )
72 this.fileTypes = fileTypes;
75 public List<String> getKnownContentConsumers()
77 if ( this.knownContentConsumers == null )
79 this.knownContentConsumers = new ArrayList<String>();
81 return knownContentConsumers;
84 public void setKnownContentConsumers( List<String> knownContentConsumers )
86 this.knownContentConsumers = knownContentConsumers;
89 public List<String> getInvalidContentConsumers()
91 if ( this.invalidContentConsumers == null )
93 this.invalidContentConsumers = new ArrayList<String>();
95 return invalidContentConsumers;
98 public void setInvalidContentConsumers( List<String> invalidContentConsumers )
100 this.invalidContentConsumers = invalidContentConsumers;