org.apache.maven.execution
Class ReactorManager

java.lang.Object
  extended by org.apache.maven.execution.ReactorManager

public class ReactorManager
extends Object


Field Summary
static String FAIL_AT_END
           
static String FAIL_FAST
           
static String FAIL_NEVER
           
static String MAKE_BOTH_MODE
           
static String MAKE_DEPENDENTS_MODE
           
static String MAKE_MODE
           
 
Constructor Summary
ReactorManager(List projects)
           
ReactorManager(List projects, List selectedProjects, String resumeFrom, String makeBehavior)
           
 
Method Summary
 void blackList(MavenProject project)
           
 boolean executedMultipleProjects()
           
 BuildFailure getBuildFailure(MavenProject project)
           
 BuildSuccess getBuildSuccess(MavenProject project)
           
 String getFailureBehavior()
           
 Map getPluginContext(PluginDescriptor plugin, MavenProject project)
           
 List<MavenProject> getSortedProjects()
           
 MavenProject getTopLevelProject()
           
 boolean hasBuildFailure(MavenProject project)
           
 boolean hasBuildFailures()
           
 boolean hasBuildSuccess(MavenProject project)
           
 boolean hasMultipleProjects()
           
 boolean isBlackListed(MavenProject project)
           
 void registerBuildFailure(MavenProject project, Exception error, String task, long time)
           
 void registerBuildSuccess(MavenProject project, long time)
           
 void setFailureBehavior(String failureBehavior)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FAIL_FAST

public static final String FAIL_FAST
See Also:
Constant Field Values

FAIL_AT_END

public static final String FAIL_AT_END
See Also:
Constant Field Values

FAIL_NEVER

public static final String FAIL_NEVER
See Also:
Constant Field Values

MAKE_MODE

public static final String MAKE_MODE
See Also:
Constant Field Values

MAKE_DEPENDENTS_MODE

public static final String MAKE_DEPENDENTS_MODE
See Also:
Constant Field Values

MAKE_BOTH_MODE

public static final String MAKE_BOTH_MODE
See Also:
Constant Field Values
Constructor Detail

ReactorManager

public ReactorManager(List projects)
               throws org.codehaus.plexus.util.dag.CycleDetectedException,
                      DuplicateProjectException,
                      MissingProjectException
Throws:
org.codehaus.plexus.util.dag.CycleDetectedException
DuplicateProjectException
MissingProjectException

ReactorManager

public ReactorManager(List projects,
                      List selectedProjects,
                      String resumeFrom,
                      String makeBehavior)
               throws org.codehaus.plexus.util.dag.CycleDetectedException,
                      DuplicateProjectException,
                      MissingProjectException
Throws:
org.codehaus.plexus.util.dag.CycleDetectedException
DuplicateProjectException
MissingProjectException
Method Detail

getPluginContext

public Map getPluginContext(PluginDescriptor plugin,
                            MavenProject project)

setFailureBehavior

public void setFailureBehavior(String failureBehavior)

getFailureBehavior

public String getFailureBehavior()

blackList

public void blackList(MavenProject project)

isBlackListed

public boolean isBlackListed(MavenProject project)

registerBuildFailure

public void registerBuildFailure(MavenProject project,
                                 Exception error,
                                 String task,
                                 long time)

hasBuildFailures

public boolean hasBuildFailures()

hasBuildFailure

public boolean hasBuildFailure(MavenProject project)

hasMultipleProjects

public boolean hasMultipleProjects()

getSortedProjects

public List<MavenProject> getSortedProjects()

getTopLevelProject

public MavenProject getTopLevelProject()

hasBuildSuccess

public boolean hasBuildSuccess(MavenProject project)

registerBuildSuccess

public void registerBuildSuccess(MavenProject project,
                                 long time)

getBuildFailure

public BuildFailure getBuildFailure(MavenProject project)

getBuildSuccess

public BuildSuccess getBuildSuccess(MavenProject project)

executedMultipleProjects

public boolean executedMultipleProjects()


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