org.apache.maven.plugin.war.util
Interface WebappStructure.DependenciesAnalysisCallback

Enclosing class:
WebappStructure

public static interface WebappStructure.DependenciesAnalysisCallback

Callback interface to handle events related to dependencies analysis.


Method Summary
 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.
 

Method Detail

unchangedDependency

void unchangedDependency(Dependency dependency)
Called if the dependency has not changed since the last build.

Parameters:
dependency - the dependency that hasn't changed

newDependency

void newDependency(Dependency dependency)
Called if a new dependency has been added since the last build.

Parameters:
dependency - the new dependency

removedDependency

void removedDependency(Dependency dependency)
Called if the dependency has been removed since the last build.

Parameters:
dependency - the dependency that has been removed

updatedVersion

void updatedVersion(Dependency dependency,
                    String previousVersion)
Called if the version of the dependency has changed since the last build.

Parameters:
dependency - the dependency
previousVersion - the previous version of the dependency

updatedScope

void updatedScope(Dependency dependency,
                  String previousScope)
Called if the scope of the dependency has changed since the last build.

Parameters:
dependency - the dependency
previousScope - the previous scope

updatedOptionalFlag

void updatedOptionalFlag(Dependency dependency,
                         boolean previousOptional)
Called if the optional flag of the dependency has changed since the last build.

Parameters:
dependency - the dependency
previousOptional - the previous optional flag

updatedUnknown

void updatedUnknown(Dependency dependency,
                    Dependency previousDep)
Called if the dependency has been updated for unknown reason.

Parameters:
dependency - the dependency
previousDep - the previous dependency


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.