org.gridbus.broker.farming.alchemi
Class AlchemiJobCreator

java.lang.Object
  |
  +--org.gridbus.broker.farming.alchemi.AlchemiJobCreator

public class AlchemiJobCreator
extends java.lang.Object

This class contains methods to create Alchemi jobs

Author:
Rajiv Ranjan (rranjan@cs.mu.oz.au)

Constructor Summary
AlchemiJobCreator()
           
 
Method Summary
 java.lang.String getJobXML(boolean isWS)
          Returns the xml representing this job
 void input(java.lang.String inp, java.lang.String inpalias)
          Sets the input for this job
 void Job()
          Default constructor
 void output(java.lang.String op)
          Sets the output for this job
 void run(java.lang.String run)
          Sets the executable for this job
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlchemiJobCreator

public AlchemiJobCreator()
Method Detail

Job

public void Job()
Default constructor


input

public void input(java.lang.String inp,
                  java.lang.String inpalias)
Sets the input for this job

Parameters:
inp - - the input
inpalias - - alias for the input

output

public void output(java.lang.String op)
Sets the output for this job

Parameters:
op - - the job output

run

public void run(java.lang.String run)
Sets the executable for this job

Parameters:
run - - name of the executable

getJobXML

public java.lang.String getJobXML(boolean isWS)
                           throws java.io.IOException
Returns the xml representing this job

Parameters:
isWS -
Returns:
the xml representing this job
Throws:
java.io.IOException