Package io.bdeploy.bhive.cli
Class PruneTool
java.lang.Object
io.bdeploy.common.cli.ToolBase.CliTool
io.bdeploy.common.cli.ToolBase.ConfiguredCliTool<PruneTool.PruneConfig>
io.bdeploy.bhive.cli.PruneTool
@Help("Prune any unreferenced objects from the given BHive")
@ToolCategory("Analysis and maintenance commands")
public class PruneTool
extends ToolBase.ConfiguredCliTool<PruneTool.PruneConfig>
A tool to remove unreferenced objects from a hive, for instance after
deleting a manifest.
-
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(PruneTool.PruneConfig 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
-
PruneTool
public PruneTool()
-
-
Method Details
-
run
Description copied from class:ToolBase.ConfiguredCliToolRun the configured tool using configuration from the command line.- Specified by:
runin classToolBase.ConfiguredCliTool<PruneTool.PruneConfig>- Parameters:
config- the configuration instance for the tool.
-