Class DeleteCredentialsDomainCommand
- java.lang.Object
-
- hudson.cli.CLICommand
-
- com.cloudbees.plugins.credentials.cli.BaseCredentialsCLICommand
-
- com.cloudbees.plugins.credentials.cli.DeleteCredentialsDomainCommand
-
- All Implemented Interfaces:
ExtensionPoint
,Cloneable
@Extension public class DeleteCredentialsDomainCommand extends BaseCredentialsCLICommand
Deletes a credentials domain.- Since:
- 2.1.1
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description String
domain
CredentialsStore
store
-
Constructor Summary
Constructors Constructor Description DeleteCredentialsDomainCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getShortDescription()
protected int
run()
-
Methods inherited from class com.cloudbees.plugins.credentials.cli.BaseCredentialsCLICommand
getCredentialsById, getDomainByName, safeXmlStreamReader, safeXmlStreamReader
-
Methods inherited from class hudson.cli.CLICommand
all, checkChannel, clone, createClone, getClientCharset, getClientEnvironmentVariable, getClientSystemProperty, getCmdLineParser, getCurrent, getLongDescription, getName, getSingleLineSummary, getTransportAuthentication, getTransportAuthentication2, getUsage, main, printUsage, printUsageSummary, registerOptionHandlers, setClientCharset, setTransportAuth, setTransportAuth2
-
-
-
-
Field Detail
-
store
public CredentialsStore store
-
domain
public String domain
-
-
Method Detail
-
getShortDescription
public String getShortDescription()
- Specified by:
getShortDescription
in classCLICommand
-
run
protected int run() throws Exception
- Specified by:
run
in classCLICommand
- Throws:
Exception
-
-