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 Credentials
getCredentialsById
(CredentialsStore store, Domain domain, String id) protected static Domain
getDomainByName
(CredentialsStore store, String domain) protected static com.thoughtworks.xstream.io.HierarchicalStreamReader
safeXmlStreamReader
(InputStream stream) protected static com.thoughtworks.xstream.io.HierarchicalStreamReader
safeXmlStreamReader
(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, main, printUsage, printUsageSummary, registerOptionHandlers, 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
-