Class BaseCredentialsCLICommand
java.lang.Object
hudson.cli.CLICommand
com.cloudbees.plugins.credentials.cli.BaseCredentialsCLICommand
- All Implemented Interfaces:
ExtensionPoint,Cloneable
- Direct Known Subclasses:
CreateCredentialsByXmlCommand,CreateCredentialsDomainByXmlCommand,DeleteCredentialsCommand,DeleteCredentialsDomainCommand,GetCredentialsAsXmlCommand,GetCredentialsDomainAsXmlCommand,ImportCredentialsAsXmlCommand,ListCredentialsAsXmlCommand,ListCredentialsCommand,ListCredentialsContextResolversCommand,ListCredentialsProvidersCommand,UpdateCredentialsByXmlCommand,UpdateCredentialsDomainByXmlCommand
Base class for the Credentials CLI commands.
- Since:
- 2.1.1
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class hudson.cli.CLICommand
ALLOW_AT_SYNTAX, channel, locale, stderr, stdin, stdout -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static CredentialsgetCredentialsById(CredentialsStore store, Domain domain, String id) protected static DomaingetDomainByName(CredentialsStore store, String domain) protected static com.thoughtworks.xstream.io.HierarchicalStreamReadersafeXmlStreamReader(InputStream stream) protected static com.thoughtworks.xstream.io.HierarchicalStreamReadersafeXmlStreamReader(Source source) Methods inherited from class hudson.cli.CLICommand
all, checkChannel, clone, createClone, getClientCharset, getClientEnvironmentVariable, getClientSystemProperty, getCmdLineParser, getCurrent, getLongDescription, getName, getShortDescription, getSingleLineSummary, getTransportAuthentication, getTransportAuthentication2, getUsage, handleException, main, printUsage, printUsageSummary, run, setClientCharset, setTransportAuth, setTransportAuth2
-
Constructor Details
-
BaseCredentialsCLICommand
public BaseCredentialsCLICommand()
-
-
Method Details
-
getCredentialsById
-
getDomainByName
-
safeXmlStreamReader
protected static com.thoughtworks.xstream.io.HierarchicalStreamReader safeXmlStreamReader(InputStream stream) throws IOException - Throws:
IOException
-
safeXmlStreamReader
protected static com.thoughtworks.xstream.io.HierarchicalStreamReader safeXmlStreamReader(Source source) throws IOException - Throws:
IOException
-