Package | Description |
---|---|
org.apache.maven.api.settings | |
org.apache.maven.settings | |
org.apache.maven.settings.v4 |
Modifier and Type | Method and Description |
---|---|
Server |
Server.Builder.build() |
Server |
Settings.getServer(String serverId) |
static Server |
Server.newInstance()
Creates a new
Server instance. |
static Server |
Server.newInstance(boolean withDefaults)
Creates a new
Server instance using default values or not. |
Server |
Server.withConfiguration(Dom configuration)
Creates a new
Server instance using the specified configuration. |
Server |
Server.withDirectoryPermissions(String directoryPermissions)
Creates a new
Server instance using the specified directoryPermissions. |
Server |
Server.withFilePermissions(String filePermissions)
Creates a new
Server instance using the specified filePermissions. |
Server |
Server.withId(String id)
Creates a new
Server instance using the specified id. |
Server |
Server.withPassphrase(String passphrase)
Creates a new
Server instance using the specified passphrase. |
Server |
Server.withPassword(String password)
Creates a new
Server instance using the specified password. |
Server |
Server.withPrivateKey(String privateKey)
Creates a new
Server instance using the specified privateKey. |
Server |
Server.withUsername(String username)
Creates a new
Server instance using the specified username. |
Modifier and Type | Method and Description |
---|---|
List<Server> |
Settings.getServers()
Configuration of server-specific settings, mainly authentication
method.
|
Modifier and Type | Method and Description |
---|---|
static Server.Builder |
Server.newBuilder(Server from)
Creates a new
Server builder instance using the specified object as a basis. |
static Server.Builder |
Server.newBuilder(Server from,
boolean forceCopy)
Creates a new
Server builder instance using the specified object as a basis. |
Modifier and Type | Method and Description |
---|---|
Settings.Builder |
Settings.Builder.servers(Collection<Server> servers) |
Settings |
Settings.withServers(Collection<Server> servers)
Creates a new
Settings instance using the specified servers. |
Modifier and Type | Method and Description |
---|---|
Server |
Server.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static List<Server> |
Server.serverToApiV4(List<Server> list) |
Modifier and Type | Method and Description |
---|---|
static List<Server> |
Server.serverToApiV3(List<Server> list) |
Constructor and Description |
---|
Server(Server delegate) |
Modifier and Type | Method and Description |
---|---|
protected Server |
SettingsMerger.mergeServer(Server target,
Server source,
boolean sourceDominant,
Map<Object,Object> context) |
Modifier and Type | Method and Description |
---|---|
protected SettingsMerger.KeyComputer<Server> |
SettingsMerger.getServerKey() |
Modifier and Type | Method and Description |
---|---|
protected void |
SettingsMerger.mergeServer_Configuration(Server.Builder builder,
Server target,
Server source,
boolean sourceDominant,
Map<Object,Object> context) |
protected void |
SettingsMerger.mergeServer_DirectoryPermissions(Server.Builder builder,
Server target,
Server source,
boolean sourceDominant,
Map<Object,Object> context) |
protected void |
SettingsMerger.mergeServer_FilePermissions(Server.Builder builder,
Server target,
Server source,
boolean sourceDominant,
Map<Object,Object> context) |
protected void |
SettingsMerger.mergeServer_Id(Server.Builder builder,
Server target,
Server source,
boolean sourceDominant,
Map<Object,Object> context) |
protected void |
SettingsMerger.mergeServer_Passphrase(Server.Builder builder,
Server target,
Server source,
boolean sourceDominant,
Map<Object,Object> context) |
protected void |
SettingsMerger.mergeServer_Password(Server.Builder builder,
Server target,
Server source,
boolean sourceDominant,
Map<Object,Object> context) |
protected void |
SettingsMerger.mergeServer_PrivateKey(Server.Builder builder,
Server target,
Server source,
boolean sourceDominant,
Map<Object,Object> context) |
protected void |
SettingsMerger.mergeServer_Username(Server.Builder builder,
Server target,
Server source,
boolean sourceDominant,
Map<Object,Object> context) |
protected void |
SettingsMerger.mergeServer(Server.Builder builder,
Server target,
Server source,
boolean sourceDominant,
Map<Object,Object> context) |
protected Server |
SettingsMerger.mergeServer(Server target,
Server source,
boolean sourceDominant,
Map<Object,Object> context) |
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.