org.apache.maven.artifact.resolver
Interface ResolutionListener


public interface ResolutionListener

Listens to the resolution process and handles events.

Version:
$Id$
Author:
Brett Porter

Field Summary
static int FINISH_PROCESSING_CHILDREN
           
static int INCLUDE_ARTIFACT
           
static int MANAGE_ARTIFACT
           
static int OMIT_FOR_CYCLE
           
static int OMIT_FOR_NEARER
           
static int PROCESS_CHILDREN
           
static int RESTRICT_RANGE
           
static String ROLE
           
static int SELECT_VERSION_FROM_RANGE
           
static int TEST_ARTIFACT
           
static int UPDATE_SCOPE
           
static int UPDATE_SCOPE_CURRENT_POM
           
 
Method Summary
 void endProcessChildren(Artifact artifact)
           
 void includeArtifact(Artifact artifact)
           
 void manageArtifact(Artifact artifact, Artifact replacement)
           
 void omitForCycle(Artifact artifact)
           
 void omitForNearer(Artifact omitted, Artifact kept)
           
 void restrictRange(Artifact artifact, Artifact replacement, VersionRange newRange)
           
 void selectVersionFromRange(Artifact artifact)
           
 void startProcessChildren(Artifact artifact)
           
 void testArtifact(Artifact node)
           
 void updateScope(Artifact artifact, String scope)
           
 void updateScopeCurrentPom(Artifact artifact, String scope)
           
 

Field Detail

ROLE

static final String ROLE

TEST_ARTIFACT

static final int TEST_ARTIFACT
See Also:
Constant Field Values

PROCESS_CHILDREN

static final int PROCESS_CHILDREN
See Also:
Constant Field Values

FINISH_PROCESSING_CHILDREN

static final int FINISH_PROCESSING_CHILDREN
See Also:
Constant Field Values

INCLUDE_ARTIFACT

static final int INCLUDE_ARTIFACT
See Also:
Constant Field Values

OMIT_FOR_NEARER

static final int OMIT_FOR_NEARER
See Also:
Constant Field Values

UPDATE_SCOPE

static final int UPDATE_SCOPE
See Also:
Constant Field Values

MANAGE_ARTIFACT

static final int MANAGE_ARTIFACT
See Also:
Constant Field Values

OMIT_FOR_CYCLE

static final int OMIT_FOR_CYCLE
See Also:
Constant Field Values

UPDATE_SCOPE_CURRENT_POM

static final int UPDATE_SCOPE_CURRENT_POM
See Also:
Constant Field Values

SELECT_VERSION_FROM_RANGE

static final int SELECT_VERSION_FROM_RANGE
See Also:
Constant Field Values

RESTRICT_RANGE

static final int RESTRICT_RANGE
See Also:
Constant Field Values
Method Detail

testArtifact

void testArtifact(Artifact node)

startProcessChildren

void startProcessChildren(Artifact artifact)

endProcessChildren

void endProcessChildren(Artifact artifact)

includeArtifact

void includeArtifact(Artifact artifact)

omitForNearer

void omitForNearer(Artifact omitted,
                   Artifact kept)

updateScope

void updateScope(Artifact artifact,
                 String scope)

manageArtifact

void manageArtifact(Artifact artifact,
                    Artifact replacement)

omitForCycle

void omitForCycle(Artifact artifact)

updateScopeCurrentPom

void updateScopeCurrentPom(Artifact artifact,
                           String scope)

selectVersionFromRange

void selectVersionFromRange(Artifact artifact)

restrictRange

void restrictRange(Artifact artifact,
                   Artifact replacement,
                   VersionRange newRange)


Copyright © 2001-2010 Apache Software Foundation. All Rights Reserved.