Uses of Class
org.apache.maven.api.settings.Server
-
Uses of Server in org.apache.maven.api.settings
Modifier and TypeMethodDescriptionServer.Builder.build()
static Server
Server.newInstance()
Creates a newServer
instance.static Server
Server.newInstance
(boolean withDefaults) Creates a newServer
instance using default values or not.Server.withConfiguration
(Dom configuration) Creates a newServer
instance using the specified configuration.Server.withDirectoryPermissions
(String directoryPermissions) Creates a newServer
instance using the specified directoryPermissions.Server.withFilePermissions
(String filePermissions) Creates a newServer
instance using the specified filePermissions.Creates a newServer
instance using the specified id.Server.withPassphrase
(String passphrase) Creates a newServer
instance using the specified passphrase.Server.withPassword
(String password) Creates a newServer
instance using the specified password.Server.withPrivateKey
(String privateKey) Creates a newServer
instance using the specified privateKey.Server.withUsername
(String username) Creates a newServer
instance using the specified username.Modifier and TypeMethodDescriptionSettings.getServers()
Configuration of server-specific settings, mainly authentication method.Modifier and TypeMethodDescriptionstatic Server.Builder
Server.newBuilder
(Server from) Creates a newServer
builder instance using the specified object as a basis.static Server.Builder
Server.newBuilder
(Server from, boolean forceCopy) Creates a newServer
builder instance using the specified object as a basis.Modifier and TypeMethodDescriptionSettings.Builder.servers
(Collection<Server> servers) Settings.withServers
(Collection<Server> servers) Creates a newSettings
instance using the specified servers.