Class DelegatingCommand

  • All Implemented Interfaces:
    Callable<Integer>
    Direct Known Subclasses:
    ResourceSetCommand

    public abstract class DelegatingCommand
    extends ContextCommand
    Base class for commands which create Context and ProgressMonitor and then delegate execution to CommandLine.Command created by CommandFactory obtained from getCommandFactory() abstract protected method which subclasses shall override. This command executes all life cycle methods of the target command - diagnose, execute, commit or rollback, close. Progress can be reported to console of file in text or json format.
    Author:
    Pavel