org.apache.maven.settings
Class RuntimeInfo
java.lang.Object
org.apache.maven.settings.RuntimeInfo
public class RuntimeInfo
- extends Object
To handle runtime informations like local repository or profiles.
- Version:
- $Id: RuntimeInfo.java 638306 2008-03-18 10:20:28Z bentmann $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RuntimeInfo
public RuntimeInfo(Settings settings)
- Parameters:
settings
-
setFile
public void setFile(File file)
- Parameters:
file
-
getFile
public File getFile()
- Returns:
setPluginUpdateOverride
public void setPluginUpdateOverride(Boolean pluginUpdateForced)
- Parameters:
pluginUpdateForced
-
getPluginUpdateOverride
public Boolean getPluginUpdateOverride()
- Returns:
getApplyToAllPluginUpdates
public Boolean getApplyToAllPluginUpdates()
- Returns:
setApplyToAllPluginUpdates
public void setApplyToAllPluginUpdates(Boolean applyToAll)
- Parameters:
applyToAll
-
setActiveProfileSourceLevel
public void setActiveProfileSourceLevel(String activeProfile,
String sourceLevel)
- Parameters:
activeProfile
- sourceLevel
-
getSourceLevelForActiveProfile
public String getSourceLevelForActiveProfile(String activeProfile)
- Parameters:
activeProfile
-
- Returns:
setPluginGroupIdSourceLevel
public void setPluginGroupIdSourceLevel(String pluginGroupId,
String sourceLevel)
- Parameters:
pluginGroupId
- sourceLevel
-
getSourceLevelForPluginGroupId
public String getSourceLevelForPluginGroupId(String pluginGroupId)
- Parameters:
pluginGroupId
-
- Returns:
setLocalRepositorySourceLevel
public void setLocalRepositorySourceLevel(String localRepoSourceLevel)
- Parameters:
localRepoSourceLevel
-
getLocalRepositorySourceLevel
public String getLocalRepositorySourceLevel()
- Returns:
Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.