Class SSHUserListBoxModel

    • Constructor Detail

      • SSHUserListBoxModel

        public SSHUserListBoxModel()
        Deprecated.
    • Method Detail

      • describe

        @NonNull
        protected String describe​(@NonNull
                                  com.cloudbees.plugins.credentials.common.StandardUsernameCredentials c)
        Deprecated.
        Specified by:
        describe in class com.cloudbees.plugins.credentials.common.AbstractIdCredentialsListBoxModel<SSHUserListBoxModel,​com.cloudbees.plugins.credentials.common.StandardUsernameCredentials>
      • add

        @Deprecated
        public SSHUserListBoxModel add​(com.cloudbees.plugins.credentials.common.StandardUsernameCredentials u)
        Deprecated.
        use AbstractIdCredentialsListBoxModel.with(com.cloudbees.plugins.credentials.common.IdCredentials)
      • addCollection

        @Deprecated
        public SSHUserListBoxModel addCollection​(Collection<? extends com.cloudbees.plugins.credentials.common.StandardUsernameCredentials> col)
        Deprecated.
        use AbstractIdCredentialsListBoxModel.withMatching(CredentialsMatcher, Iterable) or AbstractIdCredentialsListBoxModel.withAll(Iterable)
        Adds a collection of credentials (they will be filtered with SSHAuthenticator.matcher() implicitly).
        Parameters:
        col - the collection of credentials.
        Returns:
        this for method chaining.
      • withSystemScopeCredentials

        public SSHUserListBoxModel withSystemScopeCredentials()
        Deprecated.
        Adds all the system-scoped credentials (they will be filtered with SSHAuthenticator.matcher() implicitly).

        These credentials are meant to be used for system configuration and other things scoped to the Jenkins object, such as slaves.

        Returns:
        this for method chaining.
      • withSystemScopeCredentials

        public SSHUserListBoxModel withSystemScopeCredentials​(com.cloudbees.plugins.credentials.domains.DomainRequirement... domainRequirements)
        Deprecated.
        Adds all the system-scoped credentials (they will be filtered with SSHAuthenticator.matcher() implicitly).

        These credentials are meant to be used for system configuration and other things scoped to the Jenkins object, such as slaves.

        Parameters:
        domainRequirements - the domain requirements
        Returns:
        this for method chaining.
      • withSystemScopeCredentials

        public SSHUserListBoxModel withSystemScopeCredentials​(com.cloudbees.plugins.credentials.CredentialsMatcher matcher,
                                                              com.cloudbees.plugins.credentials.domains.DomainRequirement... domainRequirements)
        Deprecated.
        Adds all the system-scoped credentials.

        These credentials are meant to be used for system configuration and other things scoped to the Jenkins object, such as slaves.

        Parameters:
        matcher - a matcher to filter the credentials
        domainRequirements - the domain requirements
        Returns:
        this for method chaining.
      • withSystemScopeCredentials

        public SSHUserListBoxModel withSystemScopeCredentials​(List<com.cloudbees.plugins.credentials.domains.DomainRequirement> domainRequirements)
        Deprecated.
        Adds all the system-scoped credentials (they will be filtered with SSHAuthenticator.matcher() implicitly).

        These credentials are meant to be used for system configuration and other things scoped to the Jenkins object, such as slaves.

        Parameters:
        domainRequirements - the domain requirements
        Returns:
        this for method chaining.
      • withSystemScopeCredentials

        public SSHUserListBoxModel withSystemScopeCredentials​(com.cloudbees.plugins.credentials.CredentialsMatcher matcher,
                                                              List<com.cloudbees.plugins.credentials.domains.DomainRequirement> domainRequirements)
        Deprecated.
        Adds all the system-scoped credentials.

        These credentials are meant to be used for system configuration and other things scoped to the Jenkins object, such as slaves.

        Parameters:
        matcher - a matcher to filter the credentials
        domainRequirements - the domain requirements
        Returns:
        this for method chaining.