Package org.apache.maven.settings
Class Settings
java.lang.Object
org.apache.maven.settings.BaseObject
org.apache.maven.settings.TrackableBase
org.apache.maven.settings.Settings
- All Implemented Interfaces:
- Serializable,- Cloneable
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.maven.settings.BaseObjectBaseObject.ChildrenTracking
- 
Field SummaryFields inherited from class org.apache.maven.settings.TrackableBaseGLOBAL_LEVEL, USER_LEVELFields inherited from class org.apache.maven.settings.BaseObjectchildrenTracking, delegate
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddActiveProfile(String activeProfile) voidvoidaddPluginGroup(String pluginGroup) voidaddProfile(Profile profile) voidvoidclone()booleanvoidReset theactiveProxyfield tonullvoidReset theprofileMapfield tonullgetMirrorOf(String repositoryId) Deprecated.inthashCode()booleanbooleanbooleanvoidremoveActiveProfile(String activeProfile) voidremoveMirror(Mirror mirror) voidremovePluginGroup(String pluginGroup) voidremoveProfile(Profile profile) voidremoveProxy(Proxy proxy) voidremoveServer(Server server) protected booleanvoidsetActiveProfiles(List<String> activeProfiles) voidsetInteractiveMode(boolean interactiveMode) voidsetLocalRepository(String localRepository) voidsetMirrors(List<Mirror> mirrors) voidsetOffline(boolean offline) voidsetPluginGroups(List<String> pluginGroups) voidsetProfiles(List<Profile> profiles) voidsetProxies(List<Proxy> proxies) voidsetServers(List<Server> servers) settingsToApiV3(List<Settings> list) settingsToApiV4(List<Settings> list) voidsetUsePluginRegistry(boolean usePluginRegistry) Methods inherited from class org.apache.maven.settings.TrackableBasegetSourceLevel, setSourceLevel, trackableBaseToApiV3, trackableBaseToApiV4Methods inherited from class org.apache.maven.settings.BaseObjectupdate
- 
Constructor Details- 
Settingspublic Settings()
- 
Settings
- 
Settings
 
- 
- 
Method Details- 
clone- Overrides:
- clonein class- TrackableBase
 
- 
getDelegate- Overrides:
- getDelegatein class- TrackableBase
 
- 
equals- Overrides:
- equalsin class- TrackableBase
 
- 
hashCodepublic int hashCode()- Overrides:
- hashCodein class- TrackableBase
 
- 
getModelEncoding
- 
getLocalRepository
- 
setLocalRepository
- 
isInteractiveModepublic boolean isInteractiveMode()
- 
setInteractiveModepublic void setInteractiveMode(boolean interactiveMode) 
- 
isUsePluginRegistrypublic boolean isUsePluginRegistry()
- 
setUsePluginRegistrypublic void setUsePluginRegistry(boolean usePluginRegistry) 
- 
isOfflinepublic boolean isOffline()
- 
setOfflinepublic void setOffline(boolean offline) 
- 
getProxies
- 
setProxies
- 
addProxy
- 
removeProxy
- 
getServers
- 
setServers
- 
addServer
- 
removeServer
- 
getMirrors
- 
setMirrors
- 
addMirror
- 
removeMirror
- 
getProfiles
- 
setProfiles
- 
addProfile
- 
removeProfile
- 
getActiveProfiles
- 
setActiveProfiles
- 
addActiveProfile
- 
removeActiveProfile
- 
getPluginGroups
- 
setPluginGroups
- 
addPluginGroup
- 
removePluginGroup
- 
replace- Overrides:
- replacein class- TrackableBase
 
- 
settingsToApiV4
- 
settingsToApiV3
- 
getInteractiveMode
- 
flushActiveProxypublic void flushActiveProxy()Reset theactiveProxyfield tonull
- 
getActiveProxy- Returns:
- the first active proxy
 
- 
getServer
- 
getMirrorOfDeprecated.
- 
flushProfileMappublic void flushProfileMap()Reset theprofileMapfield tonull
- 
getProfilesAsMap- Returns:
- a Map of profiles field with Profile#getId()as key
- See Also:
 
 
-