public class FluentServerBuilder
extends java.lang.Object
<server> element contains
informations required to a server settings.| Modifier and Type | Method and Description |
|---|---|
org.apache.maven.settings.Server |
build() |
static FluentServerBuilder |
newServer()
The
<server> element contains
information required to a server settings. |
FluentServerBuilder |
withConfiguration(java.lang.Object configuration)
Set extra configuration for the transport layer.
|
FluentServerBuilder |
withDirectoryPermissions(java.lang.String directoryPermissions)
Set the permissions for directories when they are created.
|
FluentServerBuilder |
withFilePermissions(java.lang.String filePermissions)
Set the permissions for files when they are created.
|
FluentServerBuilder |
withId(java.lang.String id)
Set the id field.
|
FluentServerBuilder |
withPassphrase(java.lang.String passphrase)
Set the passphrase used in conjunction with the privateKey
to authenticate.
|
FluentServerBuilder |
withPassword(java.lang.String password)
Set the password used in conjunction with the username to
authenticate.
|
FluentServerBuilder |
withPrivateKey(java.lang.String privateKey)
Set the private key location used to authenticate.
|
FluentServerBuilder |
withUsername(java.lang.String username)
Set the username used to authenticate.
|
public static FluentServerBuilder newServer()
<server> element contains
information required to a server settings.public org.apache.maven.settings.Server build()
public FluentServerBuilder withId(java.lang.String id)
id - public FluentServerBuilder withUsername(java.lang.String username)
username - public FluentServerBuilder withPassword(java.lang.String password)
password - public FluentServerBuilder withPassphrase(java.lang.String passphrase)
passphrase - public FluentServerBuilder withPrivateKey(java.lang.String privateKey)
privateKey - public FluentServerBuilder withConfiguration(java.lang.Object configuration)
configuration - public FluentServerBuilder withDirectoryPermissions(java.lang.String directoryPermissions)
directoryPermissions - public FluentServerBuilder withFilePermissions(java.lang.String filePermissions)
filePermissions - Copyright © 2014 Yandex. All Rights Reserved.