|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree.protocol.wps.GeoAlgorithmWithData
public class GeoAlgorithmWithData
This class wraps a GeoAlgorithm
with its test data.
Constructor Summary | |
---|---|
GeoAlgorithmWithData(es.unex.sextante.core.GeoAlgorithm alg)
Creates a GeoAlgorithmWithData without test data. |
|
GeoAlgorithmWithData(es.unex.sextante.core.GeoAlgorithm alg,
LinkedList<LinkedList<ExampleData>> data,
LinkedList<LinkedList<OutputFormat>> format)
Creates a GeoAlgorithmWithData with test data. |
Method Summary | |
---|---|
void |
addAllInputData(LinkedList<LinkedList<ExampleData>> data)
Adds lists of test data for more than one execution. |
void |
addAllOutputFormats(LinkedList<LinkedList<OutputFormat>> format)
Adds lists of output formats for more than one execution. |
void |
addInputData(LinkedList<ExampleData> data)
Adds a list of test data for one execution. |
void |
addOutputFormats(LinkedList<OutputFormat> format)
Adds a list of output formats for one execution. |
es.unex.sextante.core.GeoAlgorithm |
getAlgorithm()
Returns the SEXTANTE GeoAlgorithm . |
LinkedList<LinkedList<ExampleData>> |
getAllInputData()
Returns all test data of this algorithm. |
LinkedList<LinkedList<OutputFormat>> |
getAllOutputFormats()
Returns all output formats of this algorithm. |
String |
getCommandLineName()
Returns the command line name of the SEXTANTE GeoAlgorithm . |
String |
getIdentifier()
Returns the identifier of this process. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GeoAlgorithmWithData(es.unex.sextante.core.GeoAlgorithm alg)
GeoAlgorithmWithData
without test data.
alg
- - SEXTANTE GeoAlgorithm
.public GeoAlgorithmWithData(es.unex.sextante.core.GeoAlgorithm alg, LinkedList<LinkedList<ExampleData>> data, LinkedList<LinkedList<OutputFormat>> format)
GeoAlgorithmWithData
with test data.
alg
- SEXTANTE GeoAlgorithm
.data
- A list of a list of ExampleData
. If the algorithm need only one input parameter, you need only
one element of ExampleData
in the list. If the algorithm need more than one input parameter,
you need for every input parameter a element of ExampleData
in the list. The sequence of the
example data must be identical to the sequence of the input parameters. For more than one execution
you need a list of these lists.Method Detail |
---|
public void addInputData(LinkedList<ExampleData> data)
data
- List of test data for one execution.public void addAllInputData(LinkedList<LinkedList<ExampleData>> data)
data
- A list of a list of ExampleData
. If the algorithm need only one input parameter, you need only
one element of ExampleData
in the list. If the algorithm need more than one input parameter,
you need for every input parameter a element of ExampleData
in the list. The sequence of the
example data must be identical to the sequence of the input parameters. For more than one execution
you need a list of these lists.public void addOutputFormats(LinkedList<OutputFormat> format)
format
- List of output formats for one execution.public void addAllOutputFormats(LinkedList<LinkedList<OutputFormat>> format)
format
- A list of a list of OutputFormat
. If the algorithm need only one output parameter, you need
only one element of OutputFormat
in the list. If the algorithm need more than one output
parameter, you need for every output parameter a element of OutputFormat
in the list. The
sequence of the example data must be identical to the sequence of the output parameters. For more than
one execution you need a list of these lists.public LinkedList<LinkedList<ExampleData>> getAllInputData()
VectorExampleData
contains test data for one execution.public LinkedList<LinkedList<OutputFormat>> getAllOutputFormats()
OutputFormat
contains output formats for one execution.public es.unex.sextante.core.GeoAlgorithm getAlgorithm()
GeoAlgorithm
.
GeoAlgorithm
.public String getIdentifier()
public String getCommandLineName()
GeoAlgorithm
.
GeoAlgorithm
.public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |