org.apache.maven.settings
Class RuntimeInfo

java.lang.Object
  extended by 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 $

Constructor Summary
RuntimeInfo(Settings settings)
           
 
Method Summary
 Boolean getApplyToAllPluginUpdates()
           
 File getFile()
           
 String getLocalRepositorySourceLevel()
           
 Boolean getPluginUpdateOverride()
           
 String getSourceLevelForActiveProfile(String activeProfile)
           
 String getSourceLevelForPluginGroupId(String pluginGroupId)
           
 void setActiveProfileSourceLevel(String activeProfile, String sourceLevel)
           
 void setApplyToAllPluginUpdates(Boolean applyToAll)
           
 void setFile(File file)
           
 void setLocalRepositorySourceLevel(String localRepoSourceLevel)
           
 void setPluginGroupIdSourceLevel(String pluginGroupId, String sourceLevel)
           
 void setPluginUpdateOverride(Boolean pluginUpdateForced)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuntimeInfo

public RuntimeInfo(Settings settings)
Parameters:
settings -
Method Detail

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.