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

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

    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

    getLinks, getState

    Methods inherited from class java.lang.Object

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

    • Credential

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

    • getCredential

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

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

      @Exported public String getDomain()
    • getDescription

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