public class CommandLineTool extends Object implements GraphProcessingObserver
org/esa/snap/core/gpf/main/CommandLineUsage.txt
.Constructor and Description |
---|
CommandLineTool()
Constructs a new tool.
|
CommandLineTool(CommandLineContext commandLineContext)
Constructs a new tool with the given context.
|
Modifier and Type | Method and Description |
---|---|
void |
graphProcessingStarted(GraphContext graphContext)
It is invoked when the graph starts its processing.
|
void |
graphProcessingStopped(GraphContext graphContext)
It is invoked when the graph stops its processing.
|
void |
run(String... args) |
void |
tileProcessingStarted(GraphContext graphContext,
Rectangle tileRectangle)
It is invoked when the processing of the rectangle starts.
|
void |
tileProcessingStopped(GraphContext graphContext,
Rectangle tileRectangle)
It is invoked when the processing of the rectangle is done.
|
public CommandLineTool()
public CommandLineTool(CommandLineContext commandLineContext)
commandLineContext
- The context used to run the tool.public void graphProcessingStarted(GraphContext graphContext)
GraphProcessingObserver
graphProcessingStarted
in interface GraphProcessingObserver
graphContext
- the graph context being processedpublic void graphProcessingStopped(GraphContext graphContext)
GraphProcessingObserver
graphProcessingStopped
in interface GraphProcessingObserver
graphContext
- the graph context being processedpublic void tileProcessingStarted(GraphContext graphContext, Rectangle tileRectangle)
GraphProcessingObserver
tileProcessingStarted
in interface GraphProcessingObserver
graphContext
- the graph context being processedtileRectangle
- the rectangle currently processedpublic void tileProcessingStopped(GraphContext graphContext, Rectangle tileRectangle)
GraphProcessingObserver
tileProcessingStopped
in interface GraphProcessingObserver
graphContext
- the graph context being processedtileRectangle
- the rectangle currently processedCopyright © 2014–2022 European Space Agency (ESA). All rights reserved.