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

public class CredentialApi extends io.jenkins.blueocean.rest.model.Resource
Credential API implementation. TODO: Remove it once proper REST API is implemented in Credentials plugin
Author:
Vivek Pandey
  • Field Details

  • Constructor Details

    • CredentialApi

      public CredentialApi(com.cloudbees.plugins.credentials.CredentialsStoreAction ca, io.jenkins.blueocean.rest.Reachable parent)
  • Method Details

    • getStore

      @Exported public String getStore()
    • create

      @POST @WebMethod(name="") public io.jenkins.blueocean.rest.model.CreateResponse create(@JsonBody net.sf.json.JSONObject body, org.kohsuke.stapler.StaplerRequest request) throws IOException
      Throws:
      IOException
    • getDomains

      @Navigable public io.jenkins.blueocean.rest.model.Container<CredentialApi.CredentialDomain> getDomains()
    • getLink

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