Modifier and Type | Method and Description |
---|---|
Settings |
Session.getSettings() |
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. |
Modifier and Type | Method and Description |
---|---|
Settings |
DefaultSession.getSettings() |
Settings |
DefaultSettingsXmlFactory.read(XmlReaderRequest request) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultSettingsXmlFactory.write(XmlWriterRequest<Settings> request) |
Modifier and Type | Method and Description |
---|---|
Settings |
Settings.getDelegate() |
static Settings |
SettingsUtils.merge(Settings dominant,
Settings recessive,
String recessiveSourceLevel) |
Modifier and Type | Method and Description |
---|---|
static List<Settings> |
Settings.settingsToApiV4(List<Settings> list) |
Modifier and Type | Method and Description |
---|---|
static Settings |
SettingsUtils.merge(Settings dominant,
Settings recessive,
String recessiveSourceLevel) |
Modifier and Type | Method and Description |
---|---|
static List<Settings> |
Settings.settingsToApiV3(List<Settings> list) |
Constructor and Description |
---|
Settings(Settings delegate) |
Modifier and Type | Method and Description |
---|---|
Settings |
SettingsReader.read(File input,
Map<String,?> options)
Reads the settings from the specified file.
|
Settings |
DefaultSettingsReader.read(File input,
Map<String,?> options) |
Settings |
SettingsReader.read(InputStream input,
Map<String,?> options)
Reads the settings from the specified byte stream.
|
Settings |
DefaultSettingsReader.read(InputStream input,
Map<String,?> options) |
Settings |
SettingsReader.read(Reader input,
Map<String,?> options)
Reads the settings from the specified character reader.
|
Settings |
DefaultSettingsReader.read(Reader input,
Map<String,?> options) |
Modifier and Type | Method and Description |
---|---|
void |
SettingsWriter.write(File output,
Map<String,Object> options,
Settings settings)
Writes the supplied settings to the specified file.
|
void |
DefaultSettingsWriter.write(File output,
Map<String,Object> options,
Settings settings) |
void |
SettingsWriter.write(OutputStream output,
Map<String,Object> options,
Settings settings)
Writes the supplied settings to the specified byte stream.
|
void |
DefaultSettingsWriter.write(OutputStream output,
Map<String,Object> options,
Settings settings) |
void |
SettingsWriter.write(Writer output,
Map<String,Object> options,
Settings settings)
Writes the supplied settings to the specified character writer.
|
void |
DefaultSettingsWriter.write(Writer output,
Map<String,Object> options,
Settings settings) |
Modifier and Type | Method and Description |
---|---|
Settings |
MavenSettingsMerger.merge(Settings dominant,
Settings recessive,
String recessiveSourceLevel) |
Modifier and Type | Method and Description |
---|---|
Settings |
MavenSettingsMerger.merge(Settings dominant,
Settings recessive,
String recessiveSourceLevel) |
Modifier and Type | Method and Description |
---|---|
Settings |
SettingsMerger.merge(Settings target,
Settings source,
boolean sourceDominant,
Map<?,?> hints)
Merges the specified source object into the given target object.
|
protected Settings |
SettingsMerger.mergeSettings(Settings target,
Settings source,
boolean sourceDominant,
Map<Object,Object> context) |
Settings |
SettingsXpp3Reader.read(InputStream in)
Method read.
|
Settings |
SettingsXpp3Reader.read(InputStream in,
boolean strict)
Method read.
|
Settings |
SettingsXpp3Reader.read(Reader reader) |
Settings |
SettingsXpp3Reader.read(Reader reader,
boolean strict) |
Settings |
SettingsXpp3Reader.read(XmlPullParser parser,
boolean strict)
Method read.
|
Modifier and Type | Method and Description |
---|---|
protected SettingsMerger.KeyComputer<Settings> |
SettingsMerger.getSettingsKey() |
Modifier and Type | Method and Description |
---|---|
Settings |
SettingsMerger.merge(Settings target,
Settings source,
boolean sourceDominant,
Map<?,?> hints)
Merges the specified source object into the given target object.
|
protected void |
SettingsMerger.mergeSettings_ActiveProfiles(Settings.Builder builder,
Settings target,
Settings source,
boolean sourceDominant,
Map<Object,Object> context) |
protected void |
SettingsMerger.mergeSettings_InteractiveMode(Settings.Builder builder,
Settings target,
Settings source,
boolean sourceDominant,
Map<Object,Object> context) |
protected void |
SettingsMerger.mergeSettings_LocalRepository(Settings.Builder builder,
Settings target,
Settings source,
boolean sourceDominant,
Map<Object,Object> context) |
protected void |
SettingsMerger.mergeSettings_Mirrors(Settings.Builder builder,
Settings target,
Settings source,
boolean sourceDominant,
Map<Object,Object> context) |
protected void |
SettingsMerger.mergeSettings_Offline(Settings.Builder builder,
Settings target,
Settings source,
boolean sourceDominant,
Map<Object,Object> context) |
protected void |
SettingsMerger.mergeSettings_PluginGroups(Settings.Builder builder,
Settings target,
Settings source,
boolean sourceDominant,
Map<Object,Object> context) |
protected void |
SettingsMerger.mergeSettings_Profiles(Settings.Builder builder,
Settings target,
Settings source,
boolean sourceDominant,
Map<Object,Object> context) |
protected void |
SettingsMerger.mergeSettings_Proxies(Settings.Builder builder,
Settings target,
Settings source,
boolean sourceDominant,
Map<Object,Object> context) |
protected void |
SettingsMerger.mergeSettings_Servers(Settings.Builder builder,
Settings target,
Settings source,
boolean sourceDominant,
Map<Object,Object> context) |
protected void |
SettingsMerger.mergeSettings_UsePluginRegistry(Settings.Builder builder,
Settings target,
Settings source,
boolean sourceDominant,
Map<Object,Object> context) |
protected void |
SettingsMerger.mergeSettings(Settings.Builder builder,
Settings target,
Settings source,
boolean sourceDominant,
Map<Object,Object> context) |
protected Settings |
SettingsMerger.mergeSettings(Settings target,
Settings source,
boolean sourceDominant,
Map<Object,Object> context) |
void |
SettingsXpp3Writer.write(OutputStream stream,
Settings settings)
Method write.
|
void |
SettingsXpp3Writer.write(Writer writer,
Settings settings)
Method write.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultSettingsValidator.validate(Settings settings,
SettingsProblemCollector problems) |
void |
SettingsValidator.validate(Settings settings,
SettingsProblemCollector problems)
Validate the specified settings.
|
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.