Package io.bdeploy.bhive.cli
Class ExportTool
java.lang.Object
io.bdeploy.common.cli.ToolBase.CliTool
io.bdeploy.common.cli.ToolBase.ConfiguredCliTool<ExportTool.ExportConfig>
io.bdeploy.bhive.cli.ExportTool
@Help("Export a given manifest to a given target location")
@ToolCategory("Filesystem interaction commands")
public class ExportTool
extends ToolBase.ConfiguredCliTool<ExportTool.ExportConfig>
A tool to export a given manifest's files recursively to a target directory.
-
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(ExportTool.ExportConfig 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
-
ExportTool
public ExportTool()
-
-
Method Details
-
run
Description copied from class:ToolBase.ConfiguredCliToolRun the configured tool using configuration from the command line.- Specified by:
runin classToolBase.ConfiguredCliTool<ExportTool.ExportConfig>- Parameters:
config- the configuration instance for the tool.
-