org.apache.maven.execution
Class DefaultMavenExecutionRequest

java.lang.Object
  extended by org.apache.maven.execution.DefaultMavenExecutionRequest
All Implemented Interfaces:
MavenExecutionRequest

public class DefaultMavenExecutionRequest
extends Object
implements MavenExecutionRequest

Version:
$Id: DefaultMavenExecutionRequest.java 688884 2008-08-25 21:11:19Z jdcasey $
Author:
Jason van Zyl

Field Summary
protected  MavenSession session
           
 
Constructor Summary
DefaultMavenExecutionRequest(ArtifactRepository localRepository, Settings settings, EventDispatcher eventDispatcher, List goals, String baseDirectory, ProfileManager globalProfileManager, Properties executionProperties, Properties userProperties, boolean showErrors)
           
 
Method Summary
 void addEventMonitor(EventMonitor monitor)
           
 String getBaseDirectory()
           
 EventDispatcher getEventDispatcher()
           
 Properties getExecutionProperties()
           
 String getFailureBehavior()
           
 ProfileManager getGlobalProfileManager()
           
 List getGoals()
           
 ArtifactRepository getLocalRepository()
           
 String getPomFile()
           
 MavenSession getSession()
           
 Settings getSettings()
           
 Date getStartTime()
           
 Properties getUserProperties()
           
 boolean isReactorActive()
           
 boolean isRecursive()
           
 boolean isShowErrors()
           
 void setFailureBehavior(String failureBehavior)
           
 void setPomFile(String pomFilename)
           
 void setReactorActive(boolean reactorActive)
           
 void setRecursive(boolean recursive)
           
 void setSession(MavenSession session)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

session

protected MavenSession session
Constructor Detail

DefaultMavenExecutionRequest

public DefaultMavenExecutionRequest(ArtifactRepository localRepository,
                                    Settings settings,
                                    EventDispatcher eventDispatcher,
                                    List goals,
                                    String baseDirectory,
                                    ProfileManager globalProfileManager,
                                    Properties executionProperties,
                                    Properties userProperties,
                                    boolean showErrors)
Method Detail

getSettings

public Settings getSettings()
Specified by:
getSettings in interface MavenExecutionRequest

getBaseDirectory

public String getBaseDirectory()
Specified by:
getBaseDirectory in interface MavenExecutionRequest

isRecursive

public boolean isRecursive()
Specified by:
isRecursive in interface MavenExecutionRequest

setRecursive

public void setRecursive(boolean recursive)
Specified by:
setRecursive in interface MavenExecutionRequest

getLocalRepository

public ArtifactRepository getLocalRepository()
Specified by:
getLocalRepository in interface MavenExecutionRequest

getGoals

public List getGoals()
Specified by:
getGoals in interface MavenExecutionRequest

getExecutionProperties

public Properties getExecutionProperties()
Specified by:
getExecutionProperties in interface MavenExecutionRequest

getSession

public MavenSession getSession()
Specified by:
getSession in interface MavenExecutionRequest

setSession

public void setSession(MavenSession session)
Specified by:
setSession in interface MavenExecutionRequest

addEventMonitor

public void addEventMonitor(EventMonitor monitor)
Specified by:
addEventMonitor in interface MavenExecutionRequest

getEventDispatcher

public EventDispatcher getEventDispatcher()
Specified by:
getEventDispatcher in interface MavenExecutionRequest

setReactorActive

public void setReactorActive(boolean reactorActive)
Specified by:
setReactorActive in interface MavenExecutionRequest

isReactorActive

public boolean isReactorActive()
Specified by:
isReactorActive in interface MavenExecutionRequest

setPomFile

public void setPomFile(String pomFilename)
Specified by:
setPomFile in interface MavenExecutionRequest

getPomFile

public String getPomFile()
Specified by:
getPomFile in interface MavenExecutionRequest

setFailureBehavior

public void setFailureBehavior(String failureBehavior)
Specified by:
setFailureBehavior in interface MavenExecutionRequest

getFailureBehavior

public String getFailureBehavior()
Specified by:
getFailureBehavior in interface MavenExecutionRequest

getGlobalProfileManager

public ProfileManager getGlobalProfileManager()
Specified by:
getGlobalProfileManager in interface MavenExecutionRequest

getStartTime

public Date getStartTime()
Specified by:
getStartTime in interface MavenExecutionRequest

isShowErrors

public boolean isShowErrors()
Specified by:
isShowErrors in interface MavenExecutionRequest

getUserProperties

public Properties getUserProperties()
Specified by:
getUserProperties in interface MavenExecutionRequest


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