Class CredentialApi.Credential

java.lang.Object
io.jenkins.blueocean.rest.model.Resource
io.jenkins.blueocean.rest.impl.pipeline.credential.CredentialApi.Credential
All Implemented Interfaces:
io.jenkins.blueocean.rest.Reachable
Enclosing class:
CredentialApi

public static class CredentialApi.Credential extends io.jenkins.blueocean.rest.model.Resource
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
    Credential(com.cloudbees.plugins.credentials.CredentialsStoreAction.CredentialsWrapper credentialsWrapper, io.jenkins.blueocean.rest.hal.Link parent)
     
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    com.cloudbees.plugins.credentials.CredentialsStoreAction.CredentialsWrapper
     
    If description is empty its displayName:domain:type, otherwise just the given description name
     
    io.jenkins.blueocean.rest.hal.Link
     

    Methods inherited from class io.jenkins.blueocean.rest.model.Resource Link icon

    getLinks, getState

    Methods inherited from class java.lang.Object Link icon

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details Link icon

    • Credential Link icon

      public Credential(com.cloudbees.plugins.credentials.CredentialsStoreAction.CredentialsWrapper credentialsWrapper, io.jenkins.blueocean.rest.hal.Link parent)
  • Method Details Link icon

    • getCredential Link icon

      @Exported(merge=true, inline=true) public com.cloudbees.plugins.credentials.CredentialsStoreAction.CredentialsWrapper getCredential()
    • getLink Link icon

      public io.jenkins.blueocean.rest.hal.Link getLink()
    • getDomain Link icon

      @Exported public String getDomain()
    • getDescription Link icon

      @Exported public String getDescription()
      If description is empty its displayName:domain:type, otherwise just the given description name