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
ConstructorDescriptionCredential
(com.cloudbees.plugins.credentials.CredentialsStoreAction.CredentialsWrapper credentialsWrapper, io.jenkins.blueocean.rest.hal.Link parent) -
Method Summary
Modifier and TypeMethodDescriptioncom.cloudbees.plugins.credentials.CredentialsStoreAction.CredentialsWrapper
If description is empty its displayName:domain:type, otherwise just the given description nameio.jenkins.blueocean.rest.hal.Link
getLink()
Methods inherited from class io.jenkins.blueocean.rest.model.Resource
getLinks, getState
-
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
-
getDescription
If description is empty its displayName:domain:type, otherwise just the given description name
-