public abstract class BPHostConfiguration<CLIENT extends BPClient,COMMON_CONFIG> extends Object implements Serializable
Constructor and Description |
---|
BPHostConfiguration() |
BPHostConfiguration(String name,
String hostname,
String username,
String password,
String remoteRootDir,
int port) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.commons.lang.builder.EqualsBuilder |
addToEquals(org.apache.commons.lang.builder.EqualsBuilder builder,
BPHostConfiguration that) |
protected org.apache.commons.lang.builder.HashCodeBuilder |
addToHashCode(org.apache.commons.lang.builder.HashCodeBuilder builder) |
protected org.apache.commons.lang.builder.ToStringBuilder |
addToToString(org.apache.commons.lang.builder.ToStringBuilder builder) |
protected void |
changeToRootDirectory(BPClient client) |
abstract CLIENT |
createClient(BPBuildInfo buildInfo) |
CLIENT |
createClient(BPBuildInfo buildInfo,
BapPublisher publisher) |
boolean |
equals(Object that) |
protected void |
exception(BPClient client,
String message) |
COMMON_CONFIG |
getCommonConfig() |
String |
getEncryptedPassword() |
String |
getHostname() |
String |
getHostnameTrimmed() |
String |
getName() |
protected String |
getPassword() |
int |
getPort() |
String |
getRemoteRootDir() |
String |
getUsername() |
int |
hashCode() |
protected boolean |
isDirectoryAbsolute(String directory) |
Object |
readResolve() |
void |
setCommonConfig(COMMON_CONFIG commonConfig) |
void |
setHostname(String hostname) |
void |
setName(String name) |
void |
setPassword(String password) |
void |
setPort(int port) |
void |
setRemoteRootDir(String remoteRootDir) |
void |
setUsername(String username) |
String |
toString() |
public String getName()
public void setName(String name)
public String getHostname()
public void setHostname(String hostname)
public String getHostnameTrimmed()
public String getUsername()
public void setUsername(String username)
protected String getPassword()
public void setPassword(String password)
public String getEncryptedPassword()
public String getRemoteRootDir()
public void setRemoteRootDir(String remoteRootDir)
public int getPort()
public void setPort(int port)
public COMMON_CONFIG getCommonConfig()
public void setCommonConfig(COMMON_CONFIG commonConfig)
public CLIENT createClient(BPBuildInfo buildInfo, BapPublisher publisher)
public abstract CLIENT createClient(BPBuildInfo buildInfo)
protected boolean isDirectoryAbsolute(String directory)
protected void changeToRootDirectory(BPClient client) throws IOException
IOException
protected org.apache.commons.lang.builder.HashCodeBuilder addToHashCode(org.apache.commons.lang.builder.HashCodeBuilder builder)
protected org.apache.commons.lang.builder.EqualsBuilder addToEquals(org.apache.commons.lang.builder.EqualsBuilder builder, BPHostConfiguration that)
protected org.apache.commons.lang.builder.ToStringBuilder addToToString(org.apache.commons.lang.builder.ToStringBuilder builder)
public Object readResolve()
Copyright © 2016–2018. All rights reserved.