Modifier and Type | Method and Description |
---|---|
Settings |
Settings.Builder.build() |
static Settings |
Settings.newInstance()
Creates a new
Settings instance. |
static Settings |
Settings.newInstance(boolean withDefaults)
Creates a new
Settings instance using default values or not. |
Settings |
Settings.withActiveProfiles(Collection<String> activeProfiles)
Creates a new
Settings instance using the specified activeProfiles. |
Settings |
Settings.withInteractiveMode(boolean interactiveMode)
Creates a new
Settings instance using the specified interactiveMode. |
Settings |
Settings.withLocalRepository(String localRepository)
Creates a new
Settings instance using the specified localRepository. |
Settings |
Settings.withMirrors(Collection<Mirror> mirrors)
Creates a new
Settings instance using the specified mirrors. |
Settings |
Settings.withOffline(boolean offline)
Creates a new
Settings instance using the specified offline. |
Settings |
Settings.withPluginGroups(Collection<String> pluginGroups)
Creates a new
Settings instance using the specified pluginGroups. |
Settings |
Settings.withProfiles(Collection<Profile> profiles)
Creates a new
Settings instance using the specified profiles. |
Settings |
Settings.withProxies(Collection<Proxy> proxies)
Creates a new
Settings instance using the specified proxies. |
Settings |
Settings.withServers(Collection<Server> servers)
Creates a new
Settings instance using the specified servers. |
Settings |
Settings.withUsePluginRegistry(boolean usePluginRegistry)
Creates a new
Settings instance using the specified usePluginRegistry. |
Modifier and Type | Method and Description |
---|---|
static Settings.Builder |
Settings.newBuilder(Settings from)
Creates a new
Settings builder instance using the specified object as a basis. |
static Settings.Builder |
Settings.newBuilder(Settings from,
boolean forceCopy)
Creates a new
Settings builder instance using the specified object as a basis. |
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.