|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.archiva.repository.scanner.RepositoryContentConsumers
public class RepositoryContentConsumers
RepositoryContentConsumerUtil
Constructor Summary | |
---|---|
RepositoryContentConsumers(ArchivaConfiguration archivaConfiguration)
|
Method Summary | |
---|---|
void |
executeConsumers(org.apache.maven.archiva.configuration.ManagedRepositoryConfiguration repository,
java.io.File localFile,
boolean updateRelatedArtifacts)
A convenience method to execute all of the active selected consumers for a particular arbitrary file. |
java.util.List<InvalidRepositoryContentConsumer> |
getAvailableInvalidConsumers()
Get the list of InvalidRepositoryContentConsumer objects that are available and present in the classpath
and as components in the IoC. |
java.util.List<KnownRepositoryContentConsumer> |
getAvailableKnownConsumers()
Get the list of KnownRepositoryContentConsumer objects that are available and present in the classpath
and as components in the IoC. |
java.util.List<java.lang.String> |
getSelectedInvalidConsumerIds()
Get the list of Ids associated with those InvalidRepositoryContentConsumer that have been selected in the
configuration to execute. |
java.util.List<InvalidRepositoryContentConsumer> |
getSelectedInvalidConsumers()
Get the list of InvalidRepositoryContentConsumer objects that are selected according to the active
configuration. |
java.util.Map<java.lang.String,InvalidRepositoryContentConsumer> |
getSelectedInvalidConsumersMap()
Get the map of String ids to InvalidRepositoryContentConsumer implementations, for those
consumers that have been selected according to the active configuration. |
java.util.List<java.lang.String> |
getSelectedKnownConsumerIds()
Get the list of Ids associated with those KnownRepositoryContentConsumer that have been selected in the
configuration to execute. |
java.util.List<KnownRepositoryContentConsumer> |
getSelectedKnownConsumers()
Get the list of KnownRepositoryContentConsumer objects that are selected according to the active
configuration. |
java.util.Map<java.lang.String,KnownRepositoryContentConsumer> |
getSelectedKnownConsumersMap()
Get the map of String ids to KnownRepositoryContentConsumer implementations, for those consumers
that have been selected according to the active configuration. |
protected java.util.Date |
getStartTime()
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
|
void |
setArchivaConfiguration(ArchivaConfiguration archivaConfiguration)
|
void |
setSelectedInvalidConsumers(java.util.List<InvalidRepositoryContentConsumer> selectedInvalidConsumers)
|
void |
setSelectedKnownConsumers(java.util.List<KnownRepositoryContentConsumer> selectedKnownConsumers)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RepositoryContentConsumers(ArchivaConfiguration archivaConfiguration)
Method Detail |
---|
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
public java.util.List<java.lang.String> getSelectedKnownConsumerIds()
Get the list of Ids associated with those KnownRepositoryContentConsumer
that have been selected in the
configuration to execute.
NOTE: This list can be larger and contain entries that might not exist or be available in the classpath, or as a component.
public java.util.List<java.lang.String> getSelectedInvalidConsumerIds()
Get the list of Ids associated with those InvalidRepositoryContentConsumer
that have been selected in the
configuration to execute.
NOTE: This list can be larger and contain entries that might not exist or be available in the classpath, or as a component.
public java.util.Map<java.lang.String,KnownRepositoryContentConsumer> getSelectedKnownConsumersMap()
String
ids to KnownRepositoryContentConsumer
implementations, for those consumers
that have been selected according to the active configuration.
KnownRepositoryContentConsumer
objects.public java.util.Map<java.lang.String,InvalidRepositoryContentConsumer> getSelectedInvalidConsumersMap()
String
ids to InvalidRepositoryContentConsumer
implementations, for those
consumers that have been selected according to the active configuration.
InvalidRepositoryContentConsumer
objects.public java.util.List<KnownRepositoryContentConsumer> getSelectedKnownConsumers()
KnownRepositoryContentConsumer
objects that are selected according to the active
configuration.
KnownRepositoryContentConsumer
that have been selected by the active configuration.public java.util.List<InvalidRepositoryContentConsumer> getSelectedInvalidConsumers()
InvalidRepositoryContentConsumer
objects that are selected according to the active
configuration.
InvalidRepositoryContentConsumer
that have been selected by the active configuration.public java.util.List<KnownRepositoryContentConsumer> getAvailableKnownConsumers()
KnownRepositoryContentConsumer
objects that are available and present in the classpath
and as components in the IoC.
KnownRepositoryContentConsumer
present in the classpath and as a
component in the IoC.public java.util.List<InvalidRepositoryContentConsumer> getAvailableInvalidConsumers()
InvalidRepositoryContentConsumer
objects that are available and present in the classpath
and as components in the IoC.
InvalidRepositoryContentConsumer
present in the classpath and as a
component in the IoC.public void executeConsumers(org.apache.maven.archiva.configuration.ManagedRepositoryConfiguration repository, java.io.File localFile, boolean updateRelatedArtifacts)
repository
- the repository configuration to use.localFile
- the local file to execute the consumers against.updateRelatedArtifacts
- TODOpublic void setSelectedKnownConsumers(java.util.List<KnownRepositoryContentConsumer> selectedKnownConsumers)
public void setSelectedInvalidConsumers(java.util.List<InvalidRepositoryContentConsumer> selectedInvalidConsumers)
protected java.util.Date getStartTime()
public void setArchivaConfiguration(ArchivaConfiguration archivaConfiguration)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |