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:
  • Constructor Details

    • BapSshKeyInfo

      public BapSshKeyInfo(String encryptedPassphrase, String key, String keyPath)
  • Method Details

    • 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)
    • equals

      public boolean equals(Object that)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • readResolve

      public Object readResolve()