org.globus.cog.gridshell.tasks.examples
Class AbstractExecutionExample

java.lang.Object
  extended byorg.globus.cog.gridshell.tasks.examples.AbstractExecutionExample
Direct Known Subclasses:
EchoExample, MatrixMultiplyImpl

public abstract class AbstractExecutionExample
extends Object


Field Summary
protected  ArgumentParser ap
           
static String ARG_HELP
           
static String ARG_PORT
           
static String ARG_PROVIDER
           
static String ARG_SERVICE_CONTACT
           
static int DEFAULT_PORT
           
static String DEFAULT_PROVIDER
           
 
Constructor Summary
AbstractExecutionExample()
           
 
Method Summary
abstract  void completed(StatusEvent sEvent)
           
 ArgumentParser createArgParser()
           
static Object createCredentials(String provider, String serviceContact)
           
abstract  TaskGraph createTaskGraph(Object credentials, String provider, String serviceContact, int port)
           
abstract  void failed(StatusEvent sEvent)
           
static void println(Object value)
           
 void runExample(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ARG_PROVIDER

public static final String ARG_PROVIDER
See Also:
Constant Field Values

ARG_PORT

public static final String ARG_PORT
See Also:
Constant Field Values

ARG_SERVICE_CONTACT

public static final String ARG_SERVICE_CONTACT
See Also:
Constant Field Values

ARG_HELP

public static final String ARG_HELP
See Also:
Constant Field Values

DEFAULT_PROVIDER

public static final String DEFAULT_PROVIDER
See Also:
Constant Field Values

DEFAULT_PORT

public static final int DEFAULT_PORT
See Also:
Constant Field Values

ap

protected ArgumentParser ap
Constructor Detail

AbstractExecutionExample

public AbstractExecutionExample()
Method Detail

createTaskGraph

public abstract TaskGraph createTaskGraph(Object credentials,
                                          String provider,
                                          String serviceContact,
                                          int port)
                                   throws Exception
Throws:
Exception

completed

public abstract void completed(StatusEvent sEvent)

failed

public abstract void failed(StatusEvent sEvent)

createCredentials

public static Object createCredentials(String provider,
                                       String serviceContact)

runExample

public void runExample(String[] args)
                throws Exception
Throws:
Exception

createArgParser

public ArgumentParser createArgParser()

println

public static void println(Object value)