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 java.io.Serializable;
22 import java.util.ArrayList;
23 import java.util.List;
26 * @author Olivier Lamy
28 public class RepositoryScanning
29 implements Serializable
34 private List<FileType> fileTypes;
37 * Field knownContentConsumers.
39 private List<String> knownContentConsumers;
42 * Field invalidContentConsumers.
44 private List<String> invalidContentConsumers;
46 public RepositoryScanning()
51 public RepositoryScanning( List<FileType> fileTypes, List<String> knownContentConsumers,
52 List<String> invalidContentConsumers )
54 this.fileTypes = fileTypes;
55 this.knownContentConsumers = knownContentConsumers;
56 this.invalidContentConsumers = invalidContentConsumers;
59 public List<FileType> getFileTypes()
61 if ( this.fileTypes == null )
63 this.fileTypes = new ArrayList<FileType>();
68 public void setFileTypes( List<FileType> fileTypes )
70 this.fileTypes = fileTypes;
73 public List<String> getKnownContentConsumers()
75 if ( this.knownContentConsumers == null )
77 this.knownContentConsumers = new ArrayList<String>();
79 return knownContentConsumers;
82 public void setKnownContentConsumers( List<String> knownContentConsumers )
84 this.knownContentConsumers = knownContentConsumers;
87 public List<String> getInvalidContentConsumers()
89 if ( this.invalidContentConsumers == null )
91 this.invalidContentConsumers = new ArrayList<String>();
93 return invalidContentConsumers;
96 public void setInvalidContentConsumers( List<String> invalidContentConsumers )
98 this.invalidContentConsumers = invalidContentConsumers;