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.archiva.admin.AuditInformation;
22 import org.apache.archiva.admin.repository.RepositoryAdminException;
24 import java.util.List;
27 * @author Olivier Lamy
30 public interface ArchivaAdministration
33 List<LegacyArtifactPath> getLegacyArtifactPaths()
34 throws RepositoryAdminException;
36 void addLegacyArtifactPath( LegacyArtifactPath legacyArtifactPath, AuditInformation auditInformation )
37 throws RepositoryAdminException;
39 void deleteLegacyArtifactPath( String path, AuditInformation auditInformation )
40 throws RepositoryAdminException;
42 RepositoryScanning getRepositoryScanning()
43 throws RepositoryAdminException;
45 void updateRepositoryScanning( RepositoryScanning repositoryScanning, AuditInformation auditInformation )
46 throws RepositoryAdminException;
48 void addFileTypePattern( String fileTypeId, String pattern, AuditInformation auditInformation )
49 throws RepositoryAdminException;
51 void removeFileTypePattern( String fileTypeId, String pattern, AuditInformation auditInformation )
52 throws RepositoryAdminException;
54 FileType getFileType( String fileTypeId )
55 throws RepositoryAdminException;
57 void addFileType( FileType fileType, AuditInformation auditInformation )
58 throws RepositoryAdminException;
60 void removeFileType( String fileTypeId, AuditInformation auditInformation )
61 throws RepositoryAdminException;
63 void addKnownContentConsumer( String knownContentConsumer, AuditInformation auditInformation )
64 throws RepositoryAdminException;
66 void removeKnownContentConsumer( String knownContentConsumer, AuditInformation auditInformation )
67 throws RepositoryAdminException;
69 void addInvalidContentConsumer( String knownContentConsumer, AuditInformation auditInformation )
70 throws RepositoryAdminException;
72 void removeInvalidContentConsumer( String knownContentConsumer, AuditInformation auditInformation )
73 throws RepositoryAdminException;