Package io.bdeploy.bhive.cli
Class ImportTool
java.lang.Object
io.bdeploy.common.cli.ToolBase.CliTool
io.bdeploy.common.cli.ToolBase.ConfiguredCliTool<ImportTool.ImportConfig>
io.bdeploy.bhive.cli.ImportTool
@Help("Imports a source directory into a BHive")
@ToolCategory("Filesystem interaction commands")
public class ImportTool
extends ToolBase.ConfiguredCliTool<ImportTool.ImportConfig>
Import a source directory recursively into a hive and create a manifest for
it using the given values.
-
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(ImportTool.ImportConfig 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
-
ImportTool
public ImportTool()
-
-
Method Details
-
run
Description copied from class:ToolBase.ConfiguredCliToolRun the configured tool using configuration from the command line.- Specified by:
runin classToolBase.ConfiguredCliTool<ImportTool.ImportConfig>- Parameters:
config- the configuration instance for the tool.
-