org.apache.maven.archiva.repository.project.resolvers
Interface ProjectModelResolutionListener

Package class diagram package ProjectModelResolutionListener

public interface ProjectModelResolutionListener

ProjectModelResolutionListener


Method Summary
 void resolutionAttempting(org.apache.maven.archiva.model.VersionedReference projectRef, ProjectModelResolver resolver)
          Indicates that a resolution against a specific resolver is about to occur.
 void resolutionError(org.apache.maven.archiva.model.VersionedReference projectRef, ProjectModelResolver resolver, java.lang.Exception cause)
          Indicates that a resolution against the specific resolver has caused an error.
 void resolutionMiss(org.apache.maven.archiva.model.VersionedReference projectRef, ProjectModelResolver resolver)
          Indicates that a resolution against a specific resolver resulted in in a missed resolution.
 void resolutionNotFound(org.apache.maven.archiva.model.VersionedReference projectRef, java.util.List resolverList)
          Indicates that the resolution process has finished, and the requested projectRef could not be found.
 void resolutionStart(org.apache.maven.archiva.model.VersionedReference projectRef, java.util.List resolverList)
          Indicates that the resolution process has started for a specific project.
 void resolutionSuccess(org.apache.maven.archiva.model.VersionedReference projectRef, ProjectModelResolver resolver, org.apache.maven.archiva.model.ArchivaProjectModel model)
          Indicates that a resolution process has finished, and the requested projectRef has been found.
 

Method Detail

resolutionStart

void resolutionStart(org.apache.maven.archiva.model.VersionedReference projectRef,
                     java.util.List resolverList)
Indicates that the resolution process has started for a specific project.

Parameters:
projectRef - the project reference.
resolverList - the List of ProjectModelResolver's that will be searched.
See Also:
resolutionSuccess(VersionedReference, ProjectModelResolver, ArchivaProjectModel), resolutionNotFound(VersionedReference, List)

resolutionAttempting

void resolutionAttempting(org.apache.maven.archiva.model.VersionedReference projectRef,
                          ProjectModelResolver resolver)
Indicates that a resolution against a specific resolver is about to occur.

Parameters:
projectRef - the project reference.
resolver - the resolver to attempt resolution on.

resolutionMiss

void resolutionMiss(org.apache.maven.archiva.model.VersionedReference projectRef,
                    ProjectModelResolver resolver)
Indicates that a resolution against a specific resolver resulted in in a missed resolution. "Miss" in this case refers to an attempt against a resolver, and that resolver essentially responds with a "not found here" response.

Parameters:
projectRef - the project reference.
resolver - the resolver the attempt was made on.

resolutionError

void resolutionError(org.apache.maven.archiva.model.VersionedReference projectRef,
                     ProjectModelResolver resolver,
                     java.lang.Exception cause)
Indicates that a resolution against the specific resolver has caused an error.

Parameters:
projectRef - the project reference.
resolver - the (optional) resolver on which the error occured.
cause - the cause of the error.

resolutionSuccess

void resolutionSuccess(org.apache.maven.archiva.model.VersionedReference projectRef,
                       ProjectModelResolver resolver,
                       org.apache.maven.archiva.model.ArchivaProjectModel model)
Indicates that a resolution process has finished, and the requested projectRef has been found.

Parameters:
projectRef - the project reference.
resolver - the resolver on which success occured.
model - the resolved model.
See Also:
resolutionStart(VersionedReference, List)

resolutionNotFound

void resolutionNotFound(org.apache.maven.archiva.model.VersionedReference projectRef,
                        java.util.List resolverList)
Indicates that the resolution process has finished, and the requested projectRef could not be found.

Parameters:
projectRef - the project reference.
resolverList - the List of ProjectModelResolver's that was be searched.
See Also:
resolutionStart(VersionedReference, List)