org.apache.maven.shared.invoker
Class DefaultInvocationRequest
java.lang.Object
org.apache.maven.shared.invoker.DefaultInvocationRequest
- All Implemented Interfaces:
- InvocationRequest
public class DefaultInvocationRequest
- extends java.lang.Object
- implements InvocationRequest
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
basedir
private java.io.File basedir
debug
private boolean debug
errorHandler
private InvocationOutputHandler errorHandler
failureBehavior
private java.lang.String failureBehavior
goals
private java.util.List goals
inputStream
private java.io.InputStream inputStream
interactive
private boolean interactive
localRepository
private java.io.File localRepository
offline
private boolean offline
recursive
private boolean recursive
outputHandler
private InvocationOutputHandler outputHandler
pomFile
private java.io.File pomFile
properties
private java.util.Properties properties
showErrors
private boolean showErrors
updateSnapshots
private boolean updateSnapshots
shellEnvironmentInherited
private boolean shellEnvironmentInherited
userSettings
private java.io.File userSettings
globalChecksumPolicy
private java.lang.String globalChecksumPolicy
pomFilename
private java.lang.String pomFilename
javaHome
private java.io.File javaHome
profiles
private java.util.List profiles
DefaultInvocationRequest
public DefaultInvocationRequest()
activateReactor
public InvocationRequest activateReactor(java.lang.String[] includes,
java.lang.String[] excludes)
- Specified by:
activateReactor
in interface InvocationRequest
getBaseDirectory
public java.io.File getBaseDirectory()
- Specified by:
getBaseDirectory
in interface InvocationRequest
getBaseDirectory
public java.io.File getBaseDirectory(java.io.File defaultDirectory)
- Specified by:
getBaseDirectory
in interface InvocationRequest
getErrorHandler
public InvocationOutputHandler getErrorHandler(InvocationOutputHandler defaultHandler)
- Specified by:
getErrorHandler
in interface InvocationRequest
getFailureBehavior
public java.lang.String getFailureBehavior()
- Specified by:
getFailureBehavior
in interface InvocationRequest
getGoals
public java.util.List getGoals()
- Specified by:
getGoals
in interface InvocationRequest
getInputStream
public java.io.InputStream getInputStream(java.io.InputStream defaultStream)
- Specified by:
getInputStream
in interface InvocationRequest
getLocalRepositoryDirectory
public java.io.File getLocalRepositoryDirectory(java.io.File defaultDirectory)
- Specified by:
getLocalRepositoryDirectory
in interface InvocationRequest
getOutputHandler
public InvocationOutputHandler getOutputHandler(InvocationOutputHandler defaultHandler)
- Specified by:
getOutputHandler
in interface InvocationRequest
getPomFile
public java.io.File getPomFile()
- Specified by:
getPomFile
in interface InvocationRequest
getProperties
public java.util.Properties getProperties()
- Specified by:
getProperties
in interface InvocationRequest
isDebug
public boolean isDebug()
- Specified by:
isDebug
in interface InvocationRequest
isInteractive
public boolean isInteractive()
- Specified by:
isInteractive
in interface InvocationRequest
isOffline
public boolean isOffline()
- Specified by:
isOffline
in interface InvocationRequest
isShowErrors
public boolean isShowErrors()
- Specified by:
isShowErrors
in interface InvocationRequest
isUpdateSnapshots
public boolean isUpdateSnapshots()
- Specified by:
isUpdateSnapshots
in interface InvocationRequest
isRecursive
public boolean isRecursive()
- Specified by:
isRecursive
in interface InvocationRequest
setRecursive
public InvocationRequest setRecursive(boolean recursive)
setBaseDirectory
public InvocationRequest setBaseDirectory(java.io.File basedir)
- Specified by:
setBaseDirectory
in interface InvocationRequest
setDebug
public InvocationRequest setDebug(boolean debug)
- Specified by:
setDebug
in interface InvocationRequest
setErrorHandler
public InvocationRequest setErrorHandler(InvocationOutputHandler errorHandler)
- Specified by:
setErrorHandler
in interface InvocationRequest
setFailureBehavior
public InvocationRequest setFailureBehavior(java.lang.String failureBehavior)
- Specified by:
setFailureBehavior
in interface InvocationRequest
setGoals
public InvocationRequest setGoals(java.util.List goals)
- Specified by:
setGoals
in interface InvocationRequest
setInputStream
public InvocationRequest setInputStream(java.io.InputStream inputStream)
- Specified by:
setInputStream
in interface InvocationRequest
setInteractive
public InvocationRequest setInteractive(boolean interactive)
- Specified by:
setInteractive
in interface InvocationRequest
setLocalRepositoryDirectory
public InvocationRequest setLocalRepositoryDirectory(java.io.File localRepository)
- Specified by:
setLocalRepositoryDirectory
in interface InvocationRequest
setOffline
public InvocationRequest setOffline(boolean offline)
- Specified by:
setOffline
in interface InvocationRequest
setOutputHandler
public InvocationRequest setOutputHandler(InvocationOutputHandler outputHandler)
- Specified by:
setOutputHandler
in interface InvocationRequest
setPomFile
public InvocationRequest setPomFile(java.io.File pomFile)
- Specified by:
setPomFile
in interface InvocationRequest
setProperties
public InvocationRequest setProperties(java.util.Properties properties)
- Specified by:
setProperties
in interface InvocationRequest
setShowErrors
public InvocationRequest setShowErrors(boolean showErrors)
- Specified by:
setShowErrors
in interface InvocationRequest
setUpdateSnapshots
public InvocationRequest setUpdateSnapshots(boolean updateSnapshots)
- Specified by:
setUpdateSnapshots
in interface InvocationRequest
isShellEnvironmentInherited
public boolean isShellEnvironmentInherited()
- Specified by:
isShellEnvironmentInherited
in interface InvocationRequest
setShellEnvironmentInherited
public InvocationRequest setShellEnvironmentInherited(boolean shellEnvironmentInherited)
- Specified by:
setShellEnvironmentInherited
in interface InvocationRequest
getJavaHome
public java.io.File getJavaHome()
- Specified by:
getJavaHome
in interface InvocationRequest
setJavaHome
public InvocationRequest setJavaHome(java.io.File javaHome)
- Specified by:
setJavaHome
in interface InvocationRequest
getUserSettingsFile
public java.io.File getUserSettingsFile()
- Specified by:
getUserSettingsFile
in interface InvocationRequest
setUserSettingsFile
public InvocationRequest setUserSettingsFile(java.io.File userSettings)
- Specified by:
setUserSettingsFile
in interface InvocationRequest
getGlobalChecksumPolicy
public java.lang.String getGlobalChecksumPolicy()
- Specified by:
getGlobalChecksumPolicy
in interface InvocationRequest
setGlobalChecksumPolicy
public InvocationRequest setGlobalChecksumPolicy(java.lang.String globalChecksumPolicy)
- Specified by:
setGlobalChecksumPolicy
in interface InvocationRequest
getPomFileName
public java.lang.String getPomFileName()
- Specified by:
getPomFileName
in interface InvocationRequest
setPomFileName
public InvocationRequest setPomFileName(java.lang.String pomFilename)
- Specified by:
setPomFileName
in interface InvocationRequest
getProfiles
public java.util.List getProfiles()
- Specified by:
getProfiles
in interface InvocationRequest
setProfiles
public InvocationRequest setProfiles(java.util.List profiles)
- Specified by:
setProfiles
in interface InvocationRequest