Package io.bdeploy.bhive.cli
Class FsckTool
@Help("Check manifest and object consistency on a BHive instance. Broken objects will be removed.")
@ToolCategory("Analysis and maintenance commands")
public class FsckTool
extends ToolBase.ConfiguredCliTool<FsckTool.FsckConfig>
A tool to check consistency of manifests and objects.
By default prints a report of found defects. Give --repair to remove defects. This will bring the BHive back to a
technically consistent state, but removes inconsistent manifests, so they need to be re-pushed if required.
-
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(FsckTool.FsckConfig 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
-
FsckTool
public FsckTool()
-
-
Method Details
-
run
Description copied from class:ToolBase.ConfiguredCliToolRun the configured tool using configuration from the command line.- Specified by:
runin classToolBase.ConfiguredCliTool<FsckTool.FsckConfig>- Parameters:
config- the configuration instance for the tool.
-