From b9d374dd0956058982b4e87932e122cf3ced20bb Mon Sep 17 00:00:00 2001 From: Brett Porter Date: Wed, 2 Dec 2009 10:45:10 +0000 Subject: [PATCH] [MRM-1025] remove empty directories and unused class git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@886110 13f79535-47bb-0310-9956-ffa450edef68 --- .../updater/ArchivaArtifactConsumer.java | 82 ------------------- 1 file changed, 82 deletions(-) delete mode 100644 archiva-modules/archiva-database/src/main/java/org/apache/maven/archiva/database/updater/ArchivaArtifactConsumer.java diff --git a/archiva-modules/archiva-database/src/main/java/org/apache/maven/archiva/database/updater/ArchivaArtifactConsumer.java b/archiva-modules/archiva-database/src/main/java/org/apache/maven/archiva/database/updater/ArchivaArtifactConsumer.java deleted file mode 100644 index 1dffed7ee..000000000 --- a/archiva-modules/archiva-database/src/main/java/org/apache/maven/archiva/database/updater/ArchivaArtifactConsumer.java +++ /dev/null @@ -1,82 +0,0 @@ -package org.apache.maven.archiva.database.updater; - -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -import org.apache.maven.archiva.consumers.Consumer; -import org.apache.maven.archiva.consumers.ConsumerException; -import org.apache.maven.archiva.model.ArchivaArtifact; - -import java.util.List; - -/** - * ArchivaArtifactConsumer - consumer for ArchivaArtifact objects. - * - * @version $Id$ - */ -public interface ArchivaArtifactConsumer extends Consumer -{ - /** - * Get the list of included file patterns for this consumer. - * - * @return the list of ({@link String}) artifact types to process. - */ - public List getIncludedTypes(); - - /** - *

- * Event that triggers at the beginning of a scan. - *

- * - *

- * NOTE: This would be a good place to initialize the consumer, to lock any resources, and to - * generally start tracking the scan as a whole. - *

- */ - public void beginScan(); - - /** - *

- * Event indicating an {@link ArchivaArtifact} is to be processed by this consumer. - *

- * - *

- * NOTE: The consumer does not need to process the artifact immediately, can can opt to queue and/or track - * the artifact to be processed in batch. Just be sure to complete the processing by the {@link #completeScan()} - * event. - *

- * - * @param file the file to process. - * @throws ConsumerException if there was a problem processing this file. - */ - public void processArchivaArtifact( ArchivaArtifact artifact ) throws ConsumerException; - - /** - *

- * Event that triggers on the completion of a scan. - *

- * - *

- * NOTE: If the consumer opted to batch up processing requests in the - * {@link #processArchivaArtifact(ArchivaArtifact)} event this would be the last opportunity to drain - * any processing queue's. - *

- */ - public void completeScan(); -} -- 2.39.5