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 687388 2008-08-20 17:19:21Z dfabulich $
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 getMakeBehavior()
           
 String getPomFile()
           
 ProjectBuilderConfiguration getProjectBuilderConfiguration()
           
 String getResumeFrom()
           
 List getSelectedProjects()
           
 MavenSession getSession()
           
 Settings getSettings()
           
 Date getStartTime()
           
 Properties getUserProperties()
           
 boolean isReactorActive()
           
 boolean isRecursive()
           
 boolean isShowErrors()
           
 void setFailureBehavior(String failureBehavior)
           
 void setMakeBehavior(String makeBehavior)
           
 void setPomFile(String pomFilename)
           
 void setReactorActive(boolean reactorActive)
           
 void setRecursive(boolean recursive)
           
 void setResumeFrom(String resumeFrom)
           
 void setSelectedProjects(List selectedProjects)
           
 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

getProjectBuilderConfiguration

public ProjectBuilderConfiguration getProjectBuilderConfiguration()
Specified by:
getProjectBuilderConfiguration in interface MavenExecutionRequest

getMakeBehavior

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

setMakeBehavior

public void setMakeBehavior(String makeBehavior)
Specified by:
setMakeBehavior in interface MavenExecutionRequest

getResumeFrom

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

setResumeFrom

public void setResumeFrom(String resumeFrom)
Specified by:
setResumeFrom in interface MavenExecutionRequest

getSelectedProjects

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

setSelectedProjects

public void setSelectedProjects(List selectedProjects)
Specified by:
setSelectedProjects in interface MavenExecutionRequest


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