org.apache.maven.execution
Class DefaultMavenExecutionRequest
java.lang.Object
org.apache.maven.execution.DefaultMavenExecutionRequest
- All Implemented Interfaces:
- MavenExecutionRequest
public class DefaultMavenExecutionRequest
- extends java.lang.Object
- implements MavenExecutionRequest
- Version:
- $Id: DefaultMavenExecutionRequest.java 726351 2008-12-14 04:02:36Z jvanzyl $
- Author:
- Jason van Zyl
| Fields inherited from interface org.apache.maven.execution.MavenExecutionRequest |
CHECKSUM_POLICY_FAIL, CHECKSUM_POLICY_WARN, LOGGING_LEVEL_DEBUG, LOGGING_LEVEL_DISABLED, LOGGING_LEVEL_ERROR, LOGGING_LEVEL_FATAL, LOGGING_LEVEL_INFO, LOGGING_LEVEL_WARN, REACTOR_FAIL_AT_END, REACTOR_FAIL_FAST, REACTOR_FAIL_NEVER |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultMavenExecutionRequest
public DefaultMavenExecutionRequest()
copy
public static MavenExecutionRequest copy(MavenExecutionRequest original)
getBaseDirectory
public java.lang.String getBaseDirectory()
- Specified by:
getBaseDirectory in interface MavenExecutionRequest
getLocalRepository
public ArtifactRepository getLocalRepository()
- Specified by:
getLocalRepository in interface MavenExecutionRequest
getLocalRepositoryPath
public java.io.File getLocalRepositoryPath()
- Specified by:
getLocalRepositoryPath in interface MavenExecutionRequest
getGoals
public java.util.List getGoals()
- Specified by:
getGoals in interface MavenExecutionRequest
getProperties
public java.util.Properties getProperties()
- Specified by:
getProperties in interface MavenExecutionRequest
getPomFile
public java.lang.String getPomFile()
- Deprecated. use
getPom()
- Specified by:
getPomFile in interface MavenExecutionRequest
getPom
public java.io.File getPom()
- Specified by:
getPom in interface MavenExecutionRequest
getReactorFailureBehavior
public java.lang.String getReactorFailureBehavior()
- Specified by:
getReactorFailureBehavior in interface MavenExecutionRequest
getStartTime
public java.util.Date getStartTime()
- Specified by:
getStartTime in interface MavenExecutionRequest
isShowErrors
public boolean isShowErrors()
- Specified by:
isShowErrors in interface MavenExecutionRequest
isInteractiveMode
public boolean isInteractiveMode()
- Specified by:
isInteractiveMode in interface MavenExecutionRequest
getEventMonitors
public java.util.List getEventMonitors()
- Specified by:
getEventMonitors in interface MavenExecutionRequest
setBasedir
public void setBasedir(java.io.File basedir)
setEventMonitors
public void setEventMonitors(java.util.List eventMonitors)
setActiveProfiles
public void setActiveProfiles(java.util.List activeProfiles)
setInactiveProfiles
public void setInactiveProfiles(java.util.List inactiveProfiles)
setRemoteRepositories
public void setRemoteRepositories(java.util.List<ArtifactRepository> remoteRepositories)
setProjectBuildingConfiguration
public void setProjectBuildingConfiguration(ProjectBuilderConfiguration projectBuildingConfiguration)
getActiveProfiles
public java.util.List getActiveProfiles()
- Specified by:
getActiveProfiles in interface MavenExecutionRequest
getInactiveProfiles
public java.util.List getInactiveProfiles()
- Specified by:
getInactiveProfiles in interface MavenExecutionRequest
getTransferListener
public org.apache.maven.wagon.events.TransferListener getTransferListener()
- Specified by:
getTransferListener in interface MavenExecutionRequest
getLoggingLevel
public int getLoggingLevel()
- Specified by:
getLoggingLevel in interface MavenExecutionRequest
isOffline
public boolean isOffline()
- Specified by:
isOffline in interface MavenExecutionRequest
isUpdateSnapshots
public boolean isUpdateSnapshots()
- Specified by:
isUpdateSnapshots in interface MavenExecutionRequest
isNoSnapshotUpdates
public boolean isNoSnapshotUpdates()
- Specified by:
isNoSnapshotUpdates in interface MavenExecutionRequest
getGlobalChecksumPolicy
public java.lang.String getGlobalChecksumPolicy()
- Specified by:
getGlobalChecksumPolicy in interface MavenExecutionRequest
isRecursive
public boolean isRecursive()
- Specified by:
isRecursive in interface MavenExecutionRequest
setBaseDirectory
public MavenExecutionRequest setBaseDirectory(java.io.File basedir)
- Specified by:
setBaseDirectory in interface MavenExecutionRequest
setStartTime
public MavenExecutionRequest setStartTime(java.util.Date startTime)
- Specified by:
setStartTime in interface MavenExecutionRequest
setShowErrors
public MavenExecutionRequest setShowErrors(boolean showErrors)
- Specified by:
setShowErrors in interface MavenExecutionRequest
setGoals
public MavenExecutionRequest setGoals(java.util.List goals)
- Specified by:
setGoals in interface MavenExecutionRequest
setLocalRepository
public MavenExecutionRequest setLocalRepository(ArtifactRepository localRepository)
- Specified by:
setLocalRepository in interface MavenExecutionRequest
setLocalRepositoryPath
public MavenExecutionRequest setLocalRepositoryPath(java.io.File localRepository)
- Specified by:
setLocalRepositoryPath in interface MavenExecutionRequest
setLocalRepositoryPath
public MavenExecutionRequest setLocalRepositoryPath(java.lang.String localRepository)
- Specified by:
setLocalRepositoryPath in interface MavenExecutionRequest
setProperties
public MavenExecutionRequest setProperties(java.util.Properties properties)
- Specified by:
setProperties in interface MavenExecutionRequest
setProperty
public MavenExecutionRequest setProperty(java.lang.String key,
java.lang.String value)
- Specified by:
setProperty in interface MavenExecutionRequest
setReactorFailureBehavior
public MavenExecutionRequest setReactorFailureBehavior(java.lang.String failureBehavior)
- Specified by:
setReactorFailureBehavior in interface MavenExecutionRequest
addActiveProfile
public MavenExecutionRequest addActiveProfile(java.lang.String profile)
- Specified by:
addActiveProfile in interface MavenExecutionRequest
addInactiveProfile
public MavenExecutionRequest addInactiveProfile(java.lang.String profile)
- Specified by:
addInactiveProfile in interface MavenExecutionRequest
addActiveProfiles
public MavenExecutionRequest addActiveProfiles(java.util.List profiles)
- Specified by:
addActiveProfiles in interface MavenExecutionRequest
addInactiveProfiles
public MavenExecutionRequest addInactiveProfiles(java.util.List profiles)
- Specified by:
addInactiveProfiles in interface MavenExecutionRequest
addEventMonitor
public MavenExecutionRequest addEventMonitor(EventMonitor monitor)
- Specified by:
addEventMonitor in interface MavenExecutionRequest
setUseReactor
public MavenExecutionRequest setUseReactor(boolean reactorActive)
- Specified by:
setUseReactor in interface MavenExecutionRequest
useReactor
public boolean useReactor()
- Specified by:
useReactor in interface MavenExecutionRequest
setPomFile
public MavenExecutionRequest setPomFile(java.lang.String pomFilename)
- Deprecated. use
setPom(File)
- Specified by:
setPomFile in interface MavenExecutionRequest
setPom
public MavenExecutionRequest setPom(java.io.File pom)
- Specified by:
setPom in interface MavenExecutionRequest
setInteractiveMode
public MavenExecutionRequest setInteractiveMode(boolean interactive)
- Specified by:
setInteractiveMode in interface MavenExecutionRequest
setTransferListener
public MavenExecutionRequest setTransferListener(org.apache.maven.wagon.events.TransferListener transferListener)
- Specified by:
setTransferListener in interface MavenExecutionRequest
setLoggingLevel
public MavenExecutionRequest setLoggingLevel(int loggingLevel)
- Specified by:
setLoggingLevel in interface MavenExecutionRequest
setOffline
public MavenExecutionRequest setOffline(boolean offline)
- Specified by:
setOffline in interface MavenExecutionRequest
setUpdateSnapshots
public MavenExecutionRequest setUpdateSnapshots(boolean updateSnapshots)
- Specified by:
setUpdateSnapshots in interface MavenExecutionRequest
setNoSnapshotUpdates
public MavenExecutionRequest setNoSnapshotUpdates(boolean noSnapshotUpdates)
- Specified by:
setNoSnapshotUpdates in interface MavenExecutionRequest
setGlobalChecksumPolicy
public MavenExecutionRequest setGlobalChecksumPolicy(java.lang.String globalChecksumPolicy)
- Specified by:
setGlobalChecksumPolicy in interface MavenExecutionRequest
getProxies
public java.util.List getProxies()
- Specified by:
getProxies in interface MavenExecutionRequest
setProxies
public MavenExecutionRequest setProxies(java.util.List proxies)
- Specified by:
setProxies in interface MavenExecutionRequest
getServers
public java.util.List getServers()
- Specified by:
getServers in interface MavenExecutionRequest
setServers
public MavenExecutionRequest setServers(java.util.List servers)
- Specified by:
setServers in interface MavenExecutionRequest
getMirrors
public java.util.List getMirrors()
- Specified by:
getMirrors in interface MavenExecutionRequest
setMirrors
public MavenExecutionRequest setMirrors(java.util.List mirrors)
- Specified by:
setMirrors in interface MavenExecutionRequest
getProfiles
public java.util.List getProfiles()
- Specified by:
getProfiles in interface MavenExecutionRequest
setProfiles
public MavenExecutionRequest setProfiles(java.util.List profiles)
- Specified by:
setProfiles in interface MavenExecutionRequest
getPluginGroups
public java.util.List getPluginGroups()
- Specified by:
getPluginGroups in interface MavenExecutionRequest
setPluginGroups
public MavenExecutionRequest setPluginGroups(java.util.List pluginGroups)
- Specified by:
setPluginGroups in interface MavenExecutionRequest
isUsePluginUpdateOverride
public boolean isUsePluginUpdateOverride()
- Specified by:
isUsePluginUpdateOverride in interface MavenExecutionRequest
setUsePluginUpdateOverride
public MavenExecutionRequest setUsePluginUpdateOverride(boolean usePluginUpdateOverride)
- Specified by:
setUsePluginUpdateOverride in interface MavenExecutionRequest
setRecursive
public MavenExecutionRequest setRecursive(boolean recursive)
- Specified by:
setRecursive in interface MavenExecutionRequest
setSettings
public MavenExecutionRequest setSettings(Settings settings)
- Specified by:
setSettings in interface MavenExecutionRequest
getSettings
public Settings getSettings()
- Specified by:
getSettings in interface MavenExecutionRequest
getProfileManager
public ProfileManager getProfileManager()
- Specified by:
getProfileManager in interface MavenExecutionRequest
setProfileManager
public MavenExecutionRequest setProfileManager(ProfileManager profileManager)
- Specified by:
setProfileManager in interface MavenExecutionRequest
isProjectPresent
public boolean isProjectPresent()
- Specified by:
isProjectPresent in interface MavenExecutionRequest
setProjectPresent
public MavenExecutionRequest setProjectPresent(boolean projectPresent)
- Specified by:
setProjectPresent in interface MavenExecutionRequest
getUserSettingsFile
public java.io.File getUserSettingsFile()
- Specified by:
getUserSettingsFile in interface MavenExecutionRequest
setUserSettingsFile
public MavenExecutionRequest setUserSettingsFile(java.io.File userSettingsFile)
- Specified by:
setUserSettingsFile in interface MavenExecutionRequest
getGlobalSettingsFile
public java.io.File getGlobalSettingsFile()
- Specified by:
getGlobalSettingsFile in interface MavenExecutionRequest
setGlobalSettingsFile
public MavenExecutionRequest setGlobalSettingsFile(java.io.File globalSettingsFile)
- Specified by:
setGlobalSettingsFile in interface MavenExecutionRequest
addRemoteRepository
public MavenExecutionRequest addRemoteRepository(ArtifactRepository repository)
- Specified by:
addRemoteRepository in interface MavenExecutionRequest
getRemoteRepositories
public java.util.List<ArtifactRepository> getRemoteRepositories()
- Specified by:
getRemoteRepositories in interface MavenExecutionRequest
setRealmManager
public MavenExecutionRequest setRealmManager(MavenRealmManager realmManager)
- Specified by:
setRealmManager in interface MavenExecutionRequest
getRealmManager
public MavenRealmManager getRealmManager()
- Specified by:
getRealmManager in interface MavenExecutionRequest
clearAccumulatedBuildState
public MavenExecutionRequest clearAccumulatedBuildState()
- Specified by:
clearAccumulatedBuildState in interface MavenExecutionRequest
getErrorReporter
public CoreErrorReporter getErrorReporter()
- Specified by:
getErrorReporter in interface MavenExecutionRequest
setErrorReporter
public MavenExecutionRequest setErrorReporter(CoreErrorReporter reporter)
- Specified by:
setErrorReporter in interface MavenExecutionRequest
getProfileActivationContext
public ProfileActivationContext getProfileActivationContext()
- Specified by:
getProfileActivationContext in interface MavenExecutionRequest
setProfileActivationContext
public MavenExecutionRequest setProfileActivationContext(ProfileActivationContext profileActivationContext)
- Specified by:
setProfileActivationContext in interface MavenExecutionRequest
getUserProperties
public java.util.Properties getUserProperties()
- Specified by:
getUserProperties in interface MavenExecutionRequest
setUserProperties
public MavenExecutionRequest setUserProperties(java.util.Properties userProperties)
- Specified by:
setUserProperties in interface MavenExecutionRequest
getProjectBuildingConfiguration
public ProjectBuilderConfiguration getProjectBuildingConfiguration()
- Specified by:
getProjectBuildingConfiguration in interface MavenExecutionRequest
Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.