public static interface WebappStructure.DependenciesAnalysisCallback
Modifier and Type | Method and Description |
---|---|
void |
newDependency(org.apache.maven.model.Dependency dependency)
Called if a new dependency has been added since the last build.
|
void |
removedDependency(org.apache.maven.model.Dependency dependency)
Called if the dependency has been removed since the last build.
|
void |
unchangedDependency(org.apache.maven.model.Dependency dependency)
Called if the dependency has not changed since the last build.
|
void |
updatedOptionalFlag(org.apache.maven.model.Dependency dependency,
boolean previousOptional)
Called if the optional flag of the dependency has changed since the last build.
|
void |
updatedScope(org.apache.maven.model.Dependency dependency,
String previousScope)
Called if the scope of the dependency has changed since the last build.
|
void |
updatedUnknown(org.apache.maven.model.Dependency dependency,
org.apache.maven.model.Dependency previousDep)
Called if the dependency has been updated for unknown reason.
|
void |
updatedVersion(org.apache.maven.model.Dependency dependency,
String previousVersion)
Called if the version of the dependency has changed since the last build.
|
void unchangedDependency(org.apache.maven.model.Dependency dependency)
dependency
- the dependency that hasn't changedvoid newDependency(org.apache.maven.model.Dependency dependency)
dependency
- the new dependencyvoid removedDependency(org.apache.maven.model.Dependency dependency)
dependency
- the dependency that has been removedvoid updatedVersion(org.apache.maven.model.Dependency dependency, String previousVersion)
dependency
- the dependencypreviousVersion
- the previous version of the dependencyvoid updatedScope(org.apache.maven.model.Dependency dependency, String previousScope)
dependency
- the dependencypreviousScope
- the previous scopevoid updatedOptionalFlag(org.apache.maven.model.Dependency dependency, boolean previousOptional)
dependency
- the dependencypreviousOptional
- the previous optional flagvoid updatedUnknown(org.apache.maven.model.Dependency dependency, org.apache.maven.model.Dependency previousDep)
dependency
- the dependencypreviousDep
- the previous dependencyCopyright © 2002–2019 The Apache Software Foundation. All rights reserved.