org.apache.maven.lifecycle
Class DefaultLifecycleExecutor

java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLogEnabled
      extended by org.apache.maven.lifecycle.DefaultLifecycleExecutor
All Implemented Interfaces:
LifecycleExecutor, org.codehaus.plexus.logging.LogEnabled, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable, org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable

public class DefaultLifecycleExecutor
extends org.codehaus.plexus.logging.AbstractLogEnabled
implements LifecycleExecutor, org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable

Version:
$Id: DefaultLifecycleExecutor.java 799759 2009-07-31 22:19:49Z jdcasey $
Author:
Jason van Zyl, Brett Porter

Field Summary
 
Fields inherited from interface org.apache.maven.lifecycle.LifecycleExecutor
ROLE
 
Constructor Summary
DefaultLifecycleExecutor()
           
 
Method Summary
 void contextualize(org.codehaus.plexus.context.Context context)
           
 void execute(MavenSession session, ReactorManager rm, EventDispatcher dispatcher)
          Execute a task.
 List getLifecycles()
           
 Map getPhaseToLifecycleMap()
           
 void initialize()
           
protected  void line()
           
 
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultLifecycleExecutor

public DefaultLifecycleExecutor()
Method Detail

execute

public void execute(MavenSession session,
                    ReactorManager rm,
                    EventDispatcher dispatcher)
             throws BuildFailureException,
                    LifecycleExecutionException
Execute a task. Each task may be a phase in the lifecycle or the execution of a mojo.

Specified by:
execute in interface LifecycleExecutor
Parameters:
session -
rm -
dispatcher -
Throws:
BuildFailureException
LifecycleExecutionException

line

protected void line()

getPhaseToLifecycleMap

public Map getPhaseToLifecycleMap()
                           throws LifecycleExecutionException
Throws:
LifecycleExecutionException

getLifecycles

public List getLifecycles()
Specified by:
getLifecycles in interface LifecycleExecutor

initialize

public void initialize()
                throws org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
Specified by:
initialize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable
Throws:
org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException

contextualize

public void contextualize(org.codehaus.plexus.context.Context context)
                   throws org.codehaus.plexus.context.ContextException
Specified by:
contextualize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
Throws:
org.codehaus.plexus.context.ContextException


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