Package org.apache.maven.settings
Class SettingsUtils
java.lang.Object
org.apache.maven.settings.SettingsUtils
Several convenience methods to handle settings
- Author:
- Vincent Siveton
- 
Method SummaryModifier and TypeMethodDescriptionstatic ProfileconvertFromSettingsProfile(org.apache.maven.api.settings.Profile settingsProfile) static org.apache.maven.api.settings.ProfileconvertToSettingsProfile(Profile modelProfile) static SettingscopySettings(Settings settings) static org.apache.maven.api.settings.Settingsmerge(org.apache.maven.api.settings.Settings dominant, org.apache.maven.api.settings.Settings recessive, String recessiveSourceLevel) 
- 
Method Details- 
mergepublic static org.apache.maven.api.settings.Settings merge(org.apache.maven.api.settings.Settings dominant, org.apache.maven.api.settings.Settings recessive, String recessiveSourceLevel) - Parameters:
- dominant-
- recessive-
- recessiveSourceLevel-
 
- 
convertToSettingsProfile- Parameters:
- modelProfile-
- Returns:
- a profile
 
- 
convertFromSettingsProfilepublic static Profile convertFromSettingsProfile(org.apache.maven.api.settings.Profile settingsProfile) - Parameters:
- settingsProfile-
- Returns:
- a profile
 
- 
copySettings- Parameters:
- settings- could be null
- Returns:
- a new instance of settings or null if settings was null.
 
 
-