Rename BaseConsumer to Consumer

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@708866 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
James William Dumay 2008-10-29 10:38:42 +00:00
parent b4e2c98b8d
commit a52072ec9d
6 changed files with 11 additions and 11 deletions

View File

@ -33,7 +33,7 @@ import org.apache.maven.archiva.configuration.FileTypes;
* @version $Id$
*/
public abstract class AbstractMonitoredConsumer
implements BaseConsumer
implements Consumer
{
private Set<ConsumerMonitor> monitors = new HashSet<ConsumerMonitor>();

View File

@ -29,7 +29,7 @@ import java.util.List;
* @author <a href="mailto:joakime@apache.org">Joakim Erdfelt</a>
* @version $Id$
*/
public interface ArchivaArtifactConsumer extends BaseConsumer
public interface ArchivaArtifactConsumer extends Consumer
{
/**
* Get the list of included file patterns for this consumer.

View File

@ -20,12 +20,12 @@ package org.apache.maven.archiva.consumers;
*/
/**
* BaseConsumer - the base set of methods for a consumer.
* Consumer - the base set of methods for a consumer.
*
* @author <a href="mailto:joakime@apache.org">Joakim Erdfelt</a>
* @version $Id$
*/
public abstract interface BaseConsumer
public abstract interface Consumer
{
/**
* This is the id for the consumer.

View File

@ -34,7 +34,7 @@ public interface ConsumerMonitor
* @param type the type of error.
* @param message the message about the error.
*/
public void consumerError( BaseConsumer consumer, String type, String message );
public void consumerError( Consumer consumer, String type, String message );
/**
* A consumer warning event.
@ -43,7 +43,7 @@ public interface ConsumerMonitor
* @param type the type of warning.
* @param message the message about the warning.
*/
public void consumerWarning( BaseConsumer consumer, String type, String message );
public void consumerWarning( Consumer consumer, String type, String message );
/**
* A consumer informational event.
@ -51,5 +51,5 @@ public interface ConsumerMonitor
* @param consumer the consumer that caused the informational message.
* @param message the message.
*/
public void consumerInfo( BaseConsumer consumer, String message );
public void consumerInfo( Consumer consumer, String message );
}

View File

@ -30,7 +30,7 @@ import java.util.List;
* @author <a href="mailto:joakime@apache.org">Joakim Erdfelt</a>
* @version $Id$
*/
public interface RepositoryContentConsumer extends BaseConsumer
public interface RepositoryContentConsumer extends Consumer
{
/**
* Get the list of included file patterns for this consumer.

View File

@ -20,7 +20,7 @@ package org.apache.maven.archiva.consumers.functors;
*/
import org.apache.commons.collections.Predicate;
import org.apache.maven.archiva.consumers.BaseConsumer;
import org.apache.maven.archiva.consumers.Consumer;
/**
* Selects Consumers that are flaged as 'permanent'.
@ -36,9 +36,9 @@ public class PermanentConsumerPredicate
{
boolean satisfies = false;
if ( object instanceof BaseConsumer )
if ( object instanceof Consumer )
{
BaseConsumer consumer = (BaseConsumer) object;
Consumer consumer = (Consumer) object;
satisfies = consumer.isPermanent();
}