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. |
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.