org.apache.maven.settings
Class SettingsUtils

java.lang.Object
  extended by org.apache.maven.settings.SettingsUtils

public final class SettingsUtils
extends Object

Several convenience methods to handle settings

Author:
Vincent Siveton

Method Summary
static Profile convertFromSettingsProfile(Profile settingsProfile)
           
static Profile convertToSettingsProfile(Profile modelProfile)
           
static Settings copySettings(Settings settings)
           
static void merge(Settings dominant, Settings recessive, String recessiveSourceLevel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

merge

public static void merge(Settings dominant,
                         Settings recessive,
                         String recessiveSourceLevel)
Parameters:
dominant -
recessive -
recessiveSourceLevel -

convertToSettingsProfile

public static Profile convertToSettingsProfile(Profile modelProfile)
Parameters:
settingsProfile -
Returns:
a profile

convertFromSettingsProfile

public static Profile convertFromSettingsProfile(Profile settingsProfile)
Parameters:
settingsProfile -
Returns:
a profile

copySettings

public static Settings copySettings(Settings settings)
Parameters:
settings - could be null
Returns:
a new instance of settings or null if settings was null.


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