GNDMS 0.6.0
RESTful verison of GNDMS
Public Member Functions | Protected Member Functions | Protected Attributes | Package Functions | Private Attributes

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

A test run for the gorfx taskflow execution. More...

Inheritance diagram for de.zib.gndms.gndmc.gorfx.GORFXTaskFlowExample:
de.zib.gndms.taskflows.filetransfer.client.FileTransferExample de.zib.gndms.taskflows.staging.client.ProviderStageInExample

List of all members.

Public Member Functions

void run () throws Exception
ApplicationContext getContext ()
FullGORFXClient getGorfxClient ()
TaskFlowClient getTfClient ()
TaskClient getTaskClient ()
AbstractTaskFlowExecClient getEtfc ()
Quote getDesiredQuote ()

Protected Member Functions

 GORFXTaskFlowExample (final boolean requireMyProxy)
abstract AbstractTaskFlowExecClient provideTaskFlowClient ()
abstract void normalRun () throws Exception
abstract void failingRun ()
Properties loadOrderProps (final String orderPropsFilename) throws IOException
Quote loadAndPrintDesiredQuote () throws IOException
void requiresMyProxy ()
 Checks if the required myProxy inforamtion are given.

Protected Attributes

String gorfxEpUrl
String dn
String orderPropFile
String conPropFile
Long cancel = null
String myProxyLogin
String myProxyPasswd
String wid = UUID.randomUUID().toString()

Package Functions

public< T > T createBean (final Class< T > beanClass)

Private Attributes

ApplicationContext context
FullGORFXClient gorfxClient
TaskFlowClient tfClient
TaskClient taskClient
AbstractTaskFlowExecClient etfc
Quote desiredQuote
final boolean requireMyProxy

Detailed Description

A test run for the gorfx taskflow execution.

Author:
try ma ik jo rr a zib
Date:
14.03.11 11:46

Member Function Documentation

void de.zib.gndms.gndmc.gorfx.GORFXTaskFlowExample.requiresMyProxy ( ) [protected]

Checks if the required myProxy inforamtion are given.

Checks it the command line args for myProxy{Login,Passwd} are present and not empty. Exits with exit status 1, if they are missing.

                                      {
        if( isEmpty( myProxyLogin ) || isEmpty( myProxyPasswd ) ) {
            System.out.println( "-myProxy{Login,Passwd} information required" );
            getCmdLineParser().printUsage( System.out );
            System.exit( 1 );
        }
    }

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