QBiC technical documentation

sample-lib

life.qbic.cli

SampleCommand

public class SampleCommand extends AbstractCommand

Abstraction of command-line arguments that will be passed to SampleTool at construction time.

SampleEntryPoint

public class SampleEntryPoint

Entry point for the Sample command-line Tool application. The purpose of this class is to act as a bridge between the command line and the real implementation of a tool by using a ToolExecutor.

Methods
main
public static void main(String[] args)

Main method.

Parameters:
  • args – the command-line arguments.

SampleTool

public class SampleTool extends QBiCTool<SampleCommand>

Implementation of Sample command-line Tool. Its command-line arguments are contained in instances of SampleCommand.

Constructors
SampleTool
public SampleTool(SampleCommand command)

Constructor.

Parameters:
  • command – an object that represents the parsed command-line arguments.
Methods
execute
public void execute()

Indices and tables