Package hudson.scm

Class IntegrityConfigurable

java.lang.Object
hudson.scm.IntegrityConfigurable
All Implemented Interfaces:
Serializable

public final class IntegrityConfigurable extends Object implements Serializable
See Also:
  • Constructor Details

    • IntegrityConfigurable

      public IntegrityConfigurable()
    • IntegrityConfigurable

      @DataBoundConstructor public IntegrityConfigurable(String configId, String ipHostName, int ipPort, String hostName, int port, boolean secure, String userName, String password, AuthenticationType authType, String ssoCredentialId)
  • Method Details

    • getSerialversionuid

      public static long getSerialversionuid()
    • setName

      public void setName(String name)
    • setPassword

      public void setPassword(hudson.util.Secret password)
    • getConfigId

      public String getConfigId()
      Returns the unique id associated with this configuration
      Returns:
    • setConfigId

      public void setConfigId(String id)
      Sets the unique id for this configuration
      Parameters:
      id -
    • getIpHostName

      public String getIpHostName()
      Returns the Integration Point host name for the connection
      Returns:
    • setIpHostName

      public void setIpHostName(String ipHostName)
      Sets the Integration Point host name of the API Session
    • getIpPort

      public int getIpPort()
      Returns the Integration Point port of the API Session
      Returns:
    • setIpPort

      public void setIpPort(int ipPort)
      Sets the Integration Point port of the API Session
    • getHostName

      public String getHostName()
      Returns the host name of the Integrity Server
      Returns:
    • setHostName

      public void setHostName(String hostName)
      Sets the host name of the Integrity Server
    • getPort

      public int getPort()
      Returns the port of the Integrity Server
      Returns:
    • setPort

      public void setPort(int port)
      Sets the port of the Integrity Server
    • getUserName

      public String getUserName()
      Returns the User connecting to the Integrity Server
      Returns:
    • setUserName

      public void setUserName(String userName)
      Sets the User connecting to the Integrity Server
    • getPassword

      public String getPassword()
      Returns the encrypted password of the user connecting to the Integrity Server
      Returns:
    • getSecretPassword

      public hudson.util.Secret getSecretPassword()
      Returns the Secret password in its raw form
      Returns:
    • getPasswordInPlainText

      public String getPasswordInPlainText()
      Returns the password (plain text) of the user connecting to the Integrity Server
      Returns:
    • setPassword

      public void setPassword(String password)
      Sets the encrypted Password of the user connecting to the Integrity Server
      Parameters:
      password - - The clear password
    • getSecure

      public boolean getSecure()
      Returns true/false depending on secure sockets are enabled
      Returns:
    • setSecure

      public void setSecure(boolean secure)
      Toggles whether or not secure sockets are enabled
    • getAuthType

      public AuthenticationType getAuthType()
    • setAuthType

      public void setAuthType(AuthenticationType authType)
    • getSsoCredentialId

      public String getSsoCredentialId()
    • setSsoCredentialId

      public void setSsoCredentialId(String ssoCredentialId)
    • getName

      public String getName()
      Returns the simple name for this Integrity Configuration
      Returns:
    • equals

      public boolean equals(Object o)
      Overridden equality function to safeguard from duplicate connections
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object