Class SimpleProcess

  • All Implemented Interfaces:
    Process

    public abstract class SimpleProcess
    extends AbstractProcess
    Provide an implementation for a simple process (ie so quick and easy it is not going to need to report progress as it goes).
    Author:
    gdavis
    • Constructor Detail

    • Method Detail

      • execute

        public final Map<String,​Object> execute​(Map<String,​Object> input,
                                                      ProgressListener monitor)
        Description copied from interface: Process
        Execute this process with the provided inputs.
        Parameters:
        input - Input parameters for this process
        monitor - listener for handling the progress of the process
        Returns:
        Map of results, (@see ProcessFactory for details), or null if canceled
      • process

        public abstract void process()
                              throws Exception
        Implement your own process here.
        Throws:
        Exception