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

Enclosing interface:
WebappStructure

public static interface WebappStructure.DependenciesAnalysisCallback

Callback interface to handle events related to dependencies analysis.


Method Summary
 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, java.lang.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, java.lang.String previousVersion)
          Called if the version of the dependency has changed since the last build.
 

Method Detail

unchangedDependency

public void unchangedDependency(org.apache.maven.model.Dependency dependency)
Called if the dependency has not changed since the last build.

Parameters:
dependency - the dependency that hasn't changed

newDependency

public void newDependency(org.apache.maven.model.Dependency dependency)
Called if a new dependency has been added since the last build.

Parameters:
dependency - the new dependency

removedDependency

public void removedDependency(org.apache.maven.model.Dependency dependency)
Called if the dependency has been removed since the last build.

Parameters:
dependency - the dependency that has been removed

updatedVersion

public void updatedVersion(org.apache.maven.model.Dependency dependency,
                           java.lang.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

public void updatedScope(org.apache.maven.model.Dependency dependency,
                         java.lang.String previousScope)
Called if the scope of the dependency has changed since the last build.

Parameters:
dependency - the dependency
previousScope - the previous scope

updatedOptionalFlag

public void updatedOptionalFlag(org.apache.maven.model.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

public void updatedUnknown(org.apache.maven.model.Dependency dependency,
                           org.apache.maven.model.Dependency previousDep)
Called if the dependency has been updated for unknown reason.

Parameters:
dependency - the dependency
previousDep - the previous dependency


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