public abstract class AbstractMonitoredConsumer extends Object implements Consumer
Modifier and Type | Field and Description |
---|---|
private Set<ConsumerMonitor> |
monitors |
Constructor and Description |
---|
AbstractMonitoredConsumer() |
Modifier and Type | Method and Description |
---|---|
void |
addConsumerMonitor(ConsumerMonitor monitor)
Add a consumer monitor to the consumer.
|
protected List<String> |
getDefaultArtifactExclusions() |
boolean |
isProcessUnmodified() |
void |
removeConsumerMonitor(ConsumerMonitor monitor)
Remove a consumer monitor.
|
protected void |
triggerConsumerError(String type,
String message) |
protected void |
triggerConsumerInfo(String message) |
protected void |
triggerConsumerWarning(String type,
String message) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDescription, getId
private final Set<ConsumerMonitor> monitors
public AbstractMonitoredConsumer()
public void addConsumerMonitor(ConsumerMonitor monitor)
Consumer
addConsumerMonitor
in interface Consumer
monitor
- the monitor to add.public void removeConsumerMonitor(ConsumerMonitor monitor)
Consumer
removeConsumerMonitor
in interface Consumer
monitor
- the monitor to remove.protected void triggerConsumerError(String type, String message)
protected void triggerConsumerWarning(String type, String message)
protected void triggerConsumerInfo(String message)
public boolean isProcessUnmodified()
protected List<String> getDefaultArtifactExclusions()
Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.