Package org.esa.snap.core.gpf.main
Class CommandLineTool
java.lang.Object
org.esa.snap.core.gpf.main.CommandLineTool
- All Implemented Interfaces:
GraphProcessingObserver
The common command-line tool for the GPF.
For usage, see
}.
invalid @link
{@link org/esa/snap/core/gpf/main/CommandLineUsage.txt
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new tool.CommandLineTool(CommandLineContext commandLineContext) Constructs a new tool with the given context. -
Method Summary
Modifier and TypeMethodDescriptionvoidgraphProcessingStarted(GraphContext graphContext) It is invoked when the graph starts its processing.voidgraphProcessingStopped(GraphContext graphContext) It is invoked when the graph stops its processing.voidvoidtileProcessingStarted(GraphContext graphContext, Rectangle tileRectangle) It is invoked when the processing of the rectangle starts.voidtileProcessingStopped(GraphContext graphContext, Rectangle tileRectangle) It is invoked when the processing of the rectangle is done.
-
Constructor Details
-
CommandLineTool
public CommandLineTool()Constructs a new tool. -
CommandLineTool
Constructs a new tool with the given context.- Parameters:
commandLineContext- The context used to run the tool.
-
-
Method Details
-
run
- Throws:
Exception
-
graphProcessingStarted
Description copied from interface:GraphProcessingObserverIt is invoked when the graph starts its processing.- Specified by:
graphProcessingStartedin interfaceGraphProcessingObserver- Parameters:
graphContext- the graph context being processed
-
graphProcessingStopped
Description copied from interface:GraphProcessingObserverIt is invoked when the graph stops its processing.- Specified by:
graphProcessingStoppedin interfaceGraphProcessingObserver- Parameters:
graphContext- the graph context being processed
-
tileProcessingStarted
Description copied from interface:GraphProcessingObserverIt is invoked when the processing of the rectangle starts.- Specified by:
tileProcessingStartedin interfaceGraphProcessingObserver- Parameters:
graphContext- the graph context being processedtileRectangle- the rectangle currently processed
-
tileProcessingStopped
Description copied from interface:GraphProcessingObserverIt is invoked when the processing of the rectangle is done.- Specified by:
tileProcessingStoppedin interfaceGraphProcessingObserver- Parameters:
graphContext- the graph context being processedtileRectangle- the rectangle currently processed
-