org.apache.archiva.consumers
Class AbstractMonitoredConsumer
java.lang.Object
org.apache.archiva.consumers.AbstractMonitoredConsumer
- All Implemented Interfaces:
- Consumer
- Direct Known Subclasses:
- ArchivaMetadataCreationConsumer, ArtifactMissingChecksumsConsumer, AutoRemoveConsumer, AutoRenameConsumer, DuplicateArtifactsConsumer, LegacyConverterArtifactConsumer, MetadataUpdaterConsumer, NexusIndexerConsumer, RepositoryPurgeConsumer, ValidateChecksumConsumer
public abstract class AbstractMonitoredConsumer
- extends Object
- implements Consumer
AbstractMonitoredConsumer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
monitors
private Set<ConsumerMonitor> monitors
AbstractMonitoredConsumer
public AbstractMonitoredConsumer()
addConsumerMonitor
public void addConsumerMonitor(ConsumerMonitor monitor)
- Description copied from interface:
Consumer
- Add a consumer monitor to the consumer.
- Specified by:
addConsumerMonitor
in interface Consumer
- Parameters:
monitor
- the monitor to add.
removeConsumerMonitor
public void removeConsumerMonitor(ConsumerMonitor monitor)
- Description copied from interface:
Consumer
- Remove a consumer monitor.
- Specified by:
removeConsumerMonitor
in interface Consumer
- Parameters:
monitor
- the monitor to remove.
triggerConsumerError
protected void triggerConsumerError(String type,
String message)
triggerConsumerWarning
protected void triggerConsumerWarning(String type,
String message)
triggerConsumerInfo
protected void triggerConsumerInfo(String message)
isProcessUnmodified
public boolean isProcessUnmodified()
getDefaultArtifactExclusions
protected List<String> getDefaultArtifactExclusions()
Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.