org.globus.cog.abstraction.xml
Class JobSpecification

java.lang.Object
  extended byorg.globus.cog.abstraction.xml.JobSpecification
All Implemented Interfaces:
Serializable

public class JobSpecification
extends Object
implements Serializable

Version:
$Revision: 1.1 $ $Date: 2005/04/22 09:53:24 $
See Also:
Serialized Form

Constructor Summary
JobSpecification()
           
 
Method Summary
 void deleteBatchJob()
           
 void deleteCount()
           
 void deleteLocalExecutable()
           
 void deleteRedirected()
           
 String getArguments()
           
 AttributeList getAttributeList()
           
 boolean getBatchJob()
           
 int getCount()
           
 String getDirectory()
           
 String getExecutable()
           
 boolean getLocalExecutable()
           
 boolean getRedirected()
           
 String getStdError()
           
 String getStdInput()
           
 String getStdOutput()
           
 boolean hasBatchJob()
           
 boolean hasCount()
           
 boolean hasLocalExecutable()
           
 boolean hasRedirected()
           
 boolean isValid()
           
 void marshal(DocumentHandler handler)
           
 void marshal(Writer out)
           
 void setArguments(String arguments)
           
 void setAttributeList(AttributeList attributeList)
           
 void setBatchJob(boolean batchJob)
           
 void setCount(int count)
           
 void setDirectory(String directory)
           
 void setExecutable(String executable)
           
 void setLocalExecutable(boolean localExecutable)
           
 void setRedirected(boolean redirected)
           
 void setStdError(String stdError)
           
 void setStdInput(String stdInput)
           
 void setStdOutput(String stdOutput)
           
static JobSpecification unmarshal(Reader reader)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JobSpecification

public JobSpecification()
Method Detail

deleteBatchJob

public void deleteBatchJob()

deleteCount

public void deleteCount()

deleteLocalExecutable

public void deleteLocalExecutable()

deleteRedirected

public void deleteRedirected()

getArguments

public String getArguments()

getAttributeList

public AttributeList getAttributeList()

getBatchJob

public boolean getBatchJob()

getCount

public int getCount()

getDirectory

public String getDirectory()

getExecutable

public String getExecutable()

getLocalExecutable

public boolean getLocalExecutable()

getRedirected

public boolean getRedirected()

getStdError

public String getStdError()

getStdInput

public String getStdInput()

getStdOutput

public String getStdOutput()

hasBatchJob

public boolean hasBatchJob()

hasCount

public boolean hasCount()

hasLocalExecutable

public boolean hasLocalExecutable()

hasRedirected

public boolean hasRedirected()

isValid

public boolean isValid()

marshal

public void marshal(Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(DocumentHandler handler)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
handler -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

setArguments

public void setArguments(String arguments)
Parameters:
arguments -

setAttributeList

public void setAttributeList(AttributeList attributeList)
Parameters:
attributeList -

setBatchJob

public void setBatchJob(boolean batchJob)
Parameters:
batchJob -

setCount

public void setCount(int count)
Parameters:
count -

setDirectory

public void setDirectory(String directory)
Parameters:
directory -

setExecutable

public void setExecutable(String executable)
Parameters:
executable -

setLocalExecutable

public void setLocalExecutable(boolean localExecutable)
Parameters:
localExecutable -

setRedirected

public void setRedirected(boolean redirected)
Parameters:
redirected -

setStdError

public void setStdError(String stdError)
Parameters:
stdError -

setStdInput

public void setStdInput(String stdInput)
Parameters:
stdInput -

setStdOutput

public void setStdOutput(String stdOutput)
Parameters:
stdOutput -

unmarshal

public static JobSpecification unmarshal(Reader reader)
                                  throws org.exolab.castor.xml.MarshalException,
                                         org.exolab.castor.xml.ValidationException
Parameters:
reader -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Throws:
org.exolab.castor.xml.ValidationException