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