
public class LiquibaseChangeLogArtifactsProcessor extends Object implements ArtifactsProcessor
ArtifactsProcessor for use in conjunction with the artifact-maven-plugin
 that creates a Liquibase changelog
 aggregating
 changelog fragments found in a MavenProject's dependencies.| Constructor and Description | 
|---|
| LiquibaseChangeLogArtifactsProcessor()Creates a new  LiquibaseChangeLogArtifactsProcessor. | 
| Modifier and Type | Method and Description | 
|---|---|
| AggregateChangeLogGenerator | getChangeLogGenerator()Returns the  AggregateChangeLogGeneratorto be used to
 generate changelogs. | 
| Collection<String> | getChangeLogResourceNames()Returns the relative names of resources representing Liquibase
 changelog fragments that this  LiquibaseChangeLogArtifactsProcessorwill look for. | 
| Collection<? extends Artifact> | process(MavenProject project,
       Collection<? extends Artifact> artifacts,
       Log log) | 
| void | setChangeLogGenerator(AggregateChangeLogGenerator changeLogGenerator)Sets the  AggregateChangeLogGeneratorto be used to
 generate changelogs. | 
| void | setChangeLogResourceNames(Collection<String> changeLogResourceNames)Sets the  Collectionof relative resource names
 representing Liquibase changelog fragments that thisLiquibaseChangeLogArtifactsProcessorwill look for. | 
public LiquibaseChangeLogArtifactsProcessor()
LiquibaseChangeLogArtifactsProcessor.public AggregateChangeLogGenerator getChangeLogGenerator()
AggregateChangeLogGenerator to be used to
 generate changelogs.
 This method may return null.
AggregateChangeLogGenerator, or nullsetChangeLogGenerator(AggregateChangeLogGenerator)public void setChangeLogGenerator(AggregateChangeLogGenerator changeLogGenerator)
AggregateChangeLogGenerator to be used to
 generate changelogs.changeLogGenerator - the new generator to use; may be null in which case a new AggregateChangeLogGenerator
 will be used internally insteadgetChangeLogGenerator()public Collection<String> getChangeLogResourceNames()
LiquibaseChangeLogArtifactsProcessor will look for.
 This method may return null.
Typically, this method returns a singleton Collection
 containing the text META-INF/liquibase/changelog.xml.
Collection of relative resource names
 representing Liquibase changelog fragments, or nullsetChangeLogResourceNames(Collection)public void setChangeLogResourceNames(Collection<String> changeLogResourceNames)
Collection of relative resource names
 representing Liquibase changelog fragments that this LiquibaseChangeLogArtifactsProcessor will look for.changeLogResourceNames - the names; may be nullgetChangeLogResourceNames()public Collection<? extends Artifact> process(MavenProject project, Collection<? extends Artifact> artifacts, Log log) throws ArtifactsProcessingException
jar: URLs from the supplied resolved
 Artifacts and lists them in topological order as <include> elements inside a generated Liquibase changelog file.
 This method never returns null.
process in interface ArtifactsProcessorproject - the MavenProject currently in effect; will
 not be nullartifacts - a Collection of Artifacts
 representing the full, transitive set of resolved dependencies of
 the supplied MavenProject; will not be nulllog - a Log for logging to a Maven console; may be
 nullArtifactsProcessingException - if an error occursArtifactsProcessorCopyright © 2014–2015, Laird Nelson. All rights reserved.