org.apache.archiva.consumers
Interface Consumer

All Known Subinterfaces:
InvalidRepositoryContentConsumer, KnownRepositoryContentConsumer, RepositoryContentConsumer
All Known Implementing Classes:
AbstractMonitoredConsumer, ArchivaMetadataCreationConsumer, ArtifactMissingChecksumsConsumer, AutoRemoveConsumer, AutoRenameConsumer, DuplicateArtifactsConsumer, LegacyConverterArtifactConsumer, MetadataUpdaterConsumer, MockInvalidRepositoryContentConsumer, NexusIndexerConsumer, RepositoryPurgeConsumer, ValidateChecksumConsumer

public interface Consumer

Consumer - the base set of methods for a consumer.


Method Summary
 void addConsumerMonitor(ConsumerMonitor monitor)
          Add a consumer monitor to the consumer.
 String getDescription()
          The human readable description for this consumer.
 String getId()
          This is the id for the consumer.
 boolean isPermanent()
          Flag indicating permanance of consumer.
 void removeConsumerMonitor(ConsumerMonitor monitor)
          Remove a consumer monitor.
 

Method Detail

getId

String getId()
This is the id for the consumer.

Returns:
the consumer id.

getDescription

String getDescription()
The human readable description for this consumer.

Returns:
the human readable description for this consumer.

isPermanent

boolean isPermanent()
Flag indicating permanance of consumer. (if it can be disabled or not)

Returns:
true indicating that consumer is permanent and cannot be disabled.

addConsumerMonitor

void addConsumerMonitor(ConsumerMonitor monitor)
Add a consumer monitor to the consumer.

Parameters:
monitor - the monitor to add.

removeConsumerMonitor

void removeConsumerMonitor(ConsumerMonitor monitor)
Remove a consumer monitor.

Parameters:
monitor - the monitor to remove.


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.