Class WindowsConfiguration

    • Constructor Detail

      • WindowsConfiguration

        @DataBoundConstructor
        public WindowsConfiguration()
      • WindowsConfiguration

        public WindowsConfiguration​(String passwordCredentialsId,
                                    String privateKeyCredentialsId)
    • Method Detail

      • getPassword

        public String getPassword()
        Gets the password if a username and password credential is provided
        Returns:
        password in plain text to use for SSH
      • getPrivateKeyCredentials

        public com.cloudbees.plugins.credentials.common.StandardUsernameCredentials getPrivateKeyCredentials()
        Returns the SSH private key if a SSH credential is provided
        Returns:
        SSH private key in plain text to use for SSH
      • getPasswordCredentialsId

        public String getPasswordCredentialsId()
      • getPrivateKeyCredentialsId

        public String getPrivateKeyCredentialsId()
      • setPasswordCredentialsId

        @DataBoundSetter
        public void setPasswordCredentialsId​(String passwordCredentialsId)
      • setPrivateKeyCredentialsId

        @DataBoundSetter
        public void setPrivateKeyCredentialsId​(String privateKeyCredentialsId)
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object