Package jenkins.plugins.publish_over_ssh
Class BapSshKeyInfo
- java.lang.Object
-
- jenkins.plugins.publish_over_ssh.BapSshKeyInfo
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BapSshCommonConfiguration
,BapSshCredentials
public class BapSshKeyInfo extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BapSshKeyInfo(String encryptedPassphrase, String key, String keyPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.commons.lang.builder.EqualsBuilder
addToEquals(org.apache.commons.lang.builder.EqualsBuilder builder, BapSshKeyInfo 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)
boolean
equals(Object that)
byte[]
getEffectiveKey(jenkins.plugins.publish_over.BPBuildInfo buildInfo)
String
getEncryptedPassphrase()
String
getKey()
String
getKeyPath()
protected String
getPassphrase()
int
hashCode()
Object
readResolve()
void
setKey(String key)
void
setKeyPath(String keyPath)
void
setPassphrase(String passphrase)
String
toString()
boolean
useKey()
-
-
-
Method Detail
-
getPassphrase
protected final String getPassphrase()
-
setPassphrase
public final void setPassphrase(String passphrase)
-
getEncryptedPassphrase
public final String getEncryptedPassphrase()
-
getKey
public String getKey()
-
setKey
public void setKey(String key)
-
getKeyPath
public String getKeyPath()
-
setKeyPath
public void setKeyPath(String keyPath)
-
getEffectiveKey
public byte[] getEffectiveKey(jenkins.plugins.publish_over.BPBuildInfo buildInfo)
-
useKey
public boolean useKey()
-
addToHashCode
protected org.apache.commons.lang.builder.HashCodeBuilder addToHashCode(org.apache.commons.lang.builder.HashCodeBuilder builder)
-
addToEquals
protected org.apache.commons.lang.builder.EqualsBuilder addToEquals(org.apache.commons.lang.builder.EqualsBuilder builder, BapSshKeyInfo that)
-
addToToString
protected org.apache.commons.lang.builder.ToStringBuilder addToToString(org.apache.commons.lang.builder.ToStringBuilder builder)
-
readResolve
public Object readResolve()
-
-