Class VaultFileCredentialImpl

java.lang.Object
com.cloudbees.plugins.credentials.BaseCredentials
com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
com.datapipe.jenkins.vault.credentials.common.AbstractVaultBaseStandardCredentials
com.datapipe.jenkins.vault.credentials.common.VaultFileCredentialImpl
All Implemented Interfaces:
com.cloudbees.plugins.credentials.common.IdCredentials, com.cloudbees.plugins.credentials.common.StandardCredentials, com.cloudbees.plugins.credentials.Credentials, VaultFileCredential, ExtensionPoint, Describable<com.cloudbees.plugins.credentials.Credentials>, Serializable, org.jenkinsci.plugins.plaincredentials.FileCredentials

public class VaultFileCredentialImpl extends AbstractVaultBaseStandardCredentials implements VaultFileCredential
See Also:
  • Constructor Details

    • VaultFileCredentialImpl

      @DataBoundConstructor public VaultFileCredentialImpl(com.cloudbees.plugins.credentials.CredentialsScope scope, String id, String description)
  • Method Details

    • getVaultKey

      @NonNull public String getVaultKey()
    • setVaultKey

      @DataBoundSetter public void setVaultKey(String vaultKey)
    • getUseKey

      @NonNull public Boolean getUseKey()
    • setUseKey

      @DataBoundSetter public void setUseKey(Boolean useKey)
    • getFileName

      @NonNull public String getFileName()
      Specified by:
      getFileName in interface org.jenkinsci.plugins.plaincredentials.FileCredentials
    • getContent

      @NonNull public InputStream getContent()
      Specified by:
      getContent in interface org.jenkinsci.plugins.plaincredentials.FileCredentials