Package io.bdeploy.bhive.cli
Class TokenTool
java.lang.Object
io.bdeploy.common.cli.ToolBase.CliTool
io.bdeploy.common.cli.ToolBase.ConfiguredCliTool<TokenTool.TokenConfig>
io.bdeploy.bhive.cli.TokenTool
@Help("Generate, import and verify access tokens.")
@ToolCategory("Analysis and maintenance commands")
public class TokenTool
extends ToolBase.ConfiguredCliTool<TokenTool.TokenConfig>
Generates an access token and exports the public key for this server, given
the private key store.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class io.bdeploy.common.cli.ToolBase.CliTool
ToolBase.CliTool.CliName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected RenderableResultrun(TokenTool.TokenConfig config) Run the configured tool using configuration from the command line.Methods inherited from class io.bdeploy.common.cli.ToolBase.ConfiguredCliTool
getConfig, getConfigsForHelp, getPrimaryConfigClass, getRawConfiguration, helpAndFail, helpAndFailIfMissing, runMethods inherited from class io.bdeploy.common.cli.ToolBase.CliTool
createDataTable, createEmptyResult, createNoOp, createResultWithErrorMessage, createResultWithSuccessMessage, createSuccess, getActivityReporter, getAuditorFactory, getDataFormat, isVerbose, out, setActivityReporter, setAuditorFactory, setDataFormat, setOutput, setVerbose
-
Constructor Details
-
TokenTool
public TokenTool()
-
-
Method Details
-
run
Description copied from class:ToolBase.ConfiguredCliToolRun the configured tool using configuration from the command line.- Specified by:
runin classToolBase.ConfiguredCliTool<TokenTool.TokenConfig>- Parameters:
config- the configuration instance for the tool.
-