|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

java.lang.Objectorg.apache.maven.archiva.consumers.AbstractMonitoredConsumer
org.apache.maven.archiva.reporting.artifact.LocationArtifactsConsumer
public class LocationArtifactsConsumer
Validate the location of the artifact based on the values indicated in its pom (both the pom packaged with the artifact & the pom in the file system).
| Constructor Summary | |
|---|---|
LocationArtifactsConsumer()
|
|
| Method Summary | |
|---|---|
void |
afterConfigurationChange(org.codehaus.plexus.registry.Registry registry,
java.lang.String propertyName,
java.lang.Object propertyValue)
|
void |
beforeConfigurationChange(org.codehaus.plexus.registry.Registry registry,
java.lang.String propertyName,
java.lang.Object propertyValue)
|
void |
beginScan()
Event that triggers at the beginning of a scan. |
void |
completeScan()
Event that triggers on the completion of a scan. |
java.lang.String |
getDescription()
The human readable description for this consumer. |
java.lang.String |
getId()
This is the id for the consumer. |
java.util.List<java.lang.String> |
getIncludedTypes()
Get the list of included file patterns for this consumer. |
void |
initialize()
|
boolean |
isPermanent()
Flag indicating permanance of consumer. |
void |
processArchivaArtifact(ArchivaArtifact artifact)
Check whether the artifact is in its proper location. |
| Methods inherited from class org.apache.maven.archiva.consumers.AbstractMonitoredConsumer |
|---|
addConsumerMonitor, getDefaultArtifactExclusions, isProcessUnmodified, removeConsumerMonitor, triggerConsumerError, triggerConsumerInfo, triggerConsumerWarning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.maven.archiva.consumers.Consumer |
|---|
addConsumerMonitor, removeConsumerMonitor |
| Constructor Detail |
|---|
public LocationArtifactsConsumer()
| Method Detail |
|---|
public java.lang.String getId()
Consumer
getId in interface Consumerpublic java.lang.String getDescription()
Consumer
getDescription in interface Consumerpublic boolean isPermanent()
Consumer
isPermanent in interface Consumerpublic void beginScan()
ArchivaArtifactConsumerEvent 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.
beginScan in interface ArchivaArtifactConsumerpublic void completeScan()
ArchivaArtifactConsumerEvent that triggers on the completion of a scan.
NOTE: If the consumer opted to batch up processing requests in the
ArchivaArtifactConsumer.processArchivaArtifact(ArchivaArtifact) event this would be the last opportunity to drain
any processing queue's.
completeScan in interface ArchivaArtifactConsumerpublic java.util.List<java.lang.String> getIncludedTypes()
ArchivaArtifactConsumer
getIncludedTypes in interface ArchivaArtifactConsumerString) artifact types to process.
public void processArchivaArtifact(ArchivaArtifact artifact)
throws ConsumerException
processArchivaArtifact in interface ArchivaArtifactConsumerConsumerException - if there was a problem processing this file.
public void afterConfigurationChange(org.codehaus.plexus.registry.Registry registry,
java.lang.String propertyName,
java.lang.Object propertyValue)
afterConfigurationChange in interface org.codehaus.plexus.registry.RegistryListener
public void beforeConfigurationChange(org.codehaus.plexus.registry.Registry registry,
java.lang.String propertyName,
java.lang.Object propertyValue)
beforeConfigurationChange in interface org.codehaus.plexus.registry.RegistryListener
public void initialize()
throws org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
initialize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializableorg.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||