org.esa.beam.framework.processor
Class ProcessorRunner

java.lang.Object
  extended by org.esa.beam.framework.processor.ProcessorRunner

public class ProcessorRunner
extends Object

Runs any processor passed in according to the command line parameters set. This class has a single static method runProcessor(java.lang.String[], org.esa.beam.framework.processor.Processor) which implements the unified processing scenario performed for all scientific processors in the BEAM processing framework.

Refer to the command line parser class CmdLineParser for a documentation of the available comamnd line arguments.


Method Summary
static void main(String[] args)
           
static void printUsage(Processor processor)
          Prints a general help message when no commandline is supplied
static boolean runProcessor(String[] args, Processor processor)
          Implements the unified processing scenario performed for all scientific processors in the BEAM processing framework.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(String[] args)

runProcessor

public static boolean runProcessor(String[] args,
                                   Processor processor)
Implements the unified processing scenario performed for all scientific processors in the BEAM processing framework. The method performs the following steps when run in interactive mode: If the processor runs in non-interactive mode it:

Parameters:
args - the commandline arguments retrieved by the main method
processor - the processor
Returns:
true for success

printUsage

public static void printUsage(Processor processor)
Prints a general help message when no commandline is supplied



Copyright © 2002-2012 Brockmann Consult GmbH. All Rights Reserved.