GNDMS 0.6.0
RESTful verison of GNDMS
Protected Member Functions | Private Member Functions

de.zib.gndms.gndmc.gorfx.ExampleTaskFlowExecClient Class Reference

An example implementation of AbstractTaskFlowExecClient. More...

Inheritance diagram for de.zib.gndms.gndmc.gorfx.ExampleTaskFlowExecClient:
de.zib.gndms.gndmc.gorfx.AbstractTaskFlowExecClient

List of all members.

Protected Member Functions

void handleFailure (TaskFailure fail)
 Prints the failure to stdout.
void showFailure (TaskFailure fail)
 Helper for handleFailure.
abstract void handleResult (TaskResult res)
 Prints the result to stdout.
void handleStatus (TaskStatus stat)
 Prints the progress to stdout.
void handleTaskSpecifier (Specifier< Facets > ts)
 Shows the facets of ts.
Integer selectQuote (List< Specifier< Quote >> quotes)
 Shows available quotes.

Private Member Functions

void showFacets (Facets facets)
 Helper for handleTaskSpecifier.
void showQuote (Quote payload)
 Helper which prints a quote to stdout.

Detailed Description

An example implementation of AbstractTaskFlowExecClient.

Author:
try ma ik jo rr a zib
Date:
10.03.11 16:37 This on executes DummyOrder taskflows.

Member Function Documentation

void de.zib.gndms.gndmc.gorfx.ExampleTaskFlowExecClient.handleFailure ( TaskFailure  fail) [protected, virtual]

Prints the failure to stdout.

Parameters:
failThe failure object.

Implements de.zib.gndms.gndmc.gorfx.AbstractTaskFlowExecClient.

abstract void de.zib.gndms.gndmc.gorfx.ExampleTaskFlowExecClient.handleResult ( TaskResult  res) [protected, pure virtual]

Prints the result to stdout.

Parameters:
resThe result object.

Implements de.zib.gndms.gndmc.gorfx.AbstractTaskFlowExecClient.

void de.zib.gndms.gndmc.gorfx.ExampleTaskFlowExecClient.handleStatus ( TaskStatus  stat) [protected, virtual]

Prints the progress to stdout.

Parameters:
statThe current task status.

Implements de.zib.gndms.gndmc.gorfx.AbstractTaskFlowExecClient.

void de.zib.gndms.gndmc.gorfx.ExampleTaskFlowExecClient.handleTaskSpecifier ( Specifier< Facets ts) [protected, virtual]

Shows the facets of ts.

Parameters:
tsThe task specifier.

Implements de.zib.gndms.gndmc.gorfx.AbstractTaskFlowExecClient.

Integer de.zib.gndms.gndmc.gorfx.ExampleTaskFlowExecClient.selectQuote ( List< Specifier< Quote >>  quotes) [protected, virtual]

Shows available quotes.

Parameters:
quotesAll available quotes.
Returns:
Always selects the 0th.

Implements de.zib.gndms.gndmc.gorfx.AbstractTaskFlowExecClient.

void de.zib.gndms.gndmc.gorfx.ExampleTaskFlowExecClient.showFacets ( Facets  facets) [private]

Helper for handleTaskSpecifier.

Parameters:
facets...
void de.zib.gndms.gndmc.gorfx.ExampleTaskFlowExecClient.showFailure ( TaskFailure  fail) [protected]

Helper for handleFailure.

Parameters:
failThe failure object.
void de.zib.gndms.gndmc.gorfx.ExampleTaskFlowExecClient.showQuote ( Quote  payload) [private]

Helper which prints a quote to stdout.

Parameters:
payloadThe quote.

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations