Package org.apache.maven.api.settings
Class Settings.Builder
java.lang.Object
org.apache.maven.api.settings.TrackableBase.Builder
org.apache.maven.api.settings.Settings.Builder
- Enclosing class:
- Settings
Builder class used to create Settings instances.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionactiveProfiles
(Collection<String> activeProfiles) build()
importedFrom
(InputLocation importedFrom) interactiveMode
(boolean interactiveMode) localRepository
(String localRepository) location
(Object key, InputLocation location) mirrors
(Collection<Mirror> mirrors) modelEncoding
(String modelEncoding) namespaceUri
(String namespaceUri) offline
(boolean offline) pluginGroups
(Collection<String> pluginGroups) pluginRepositories
(Collection<Repository> pluginRepositories) profiles
(Collection<Profile> profiles) proxies
(Collection<Proxy> proxies) repositories
(Collection<Repository> repositories) servers
(Collection<Server> servers) usePluginRegistry
(boolean usePluginRegistry)
-
Constructor Details
-
Builder
protected Builder(boolean withDefaults) -
Builder
-
-
Method Details
-
namespaceUri
-
modelEncoding
-
localRepository
-
interactiveMode
-
usePluginRegistry
-
offline
-
proxies
-
servers
-
mirrors
-
repositories
-
pluginRepositories
-
profiles
-
activeProfiles
-
pluginGroups
-
location
- Overrides:
location
in classTrackableBase.Builder
-
importedFrom
- Overrides:
importedFrom
in classTrackableBase.Builder
-
build
- Overrides:
build
in classTrackableBase.Builder
-