g-Eclipse
Release 1.0.0

eu.geclipse.workflow.resources
Class GridWorkflow

java.lang.Object
  extended by PlatformObject
      extended by eu.geclipse.core.model.impl.AbstractGridElement
          extended by eu.geclipse.core.model.impl.AbstractGridContainer
              extended by eu.geclipse.core.model.impl.ResourceGridContainer
                  extended by eu.geclipse.workflow.resources.GridWorkflow
All Implemented Interfaces:
IGridContainer, IGridElement, IGridJobDescription, IGridWorkflowDescription

public class GridWorkflow
extends ResourceGridContainer
implements IGridWorkflowDescription

Grid element for workflow description


Method Summary
 boolean canContain(IGridElement element)
          Determines if this may contain the specified element.
 java.util.List<IGridWorkflowJobDescription> getChildrenJobs()
           
 java.lang.String getDescription()
           
 java.lang.String getExecutable()
           
 java.util.List<java.lang.String> getExecutableArguments()
           
 java.lang.String getStdErrorFileName()
           
 java.net.URI getStdErrorUri()
           
 java.lang.String getStdInputFileName()
           
 java.net.URI getStdInputUri()
           
 java.lang.String getStdOutputFileName()
           
 java.net.URI getStdOutputUri()
           
 java.io.File getWorkflowFilePath()
           
 
Methods inherited from class eu.geclipse.core.model.impl.ResourceGridContainer
getFileStore, getName, getParent, getPath, getResource, isLazy, isLocal
 
Methods inherited from class eu.geclipse.core.model.impl.AbstractGridContainer
contains, create, delete, deleteAll, dispose, findChild, findChildWithResource, getChildCount, getChildren, hasChildren, isDirty, refresh, setDirty
 
Methods inherited from class eu.geclipse.core.model.impl.AbstractGridElement
getAdapter, getProject, isHidden, isVirtual
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface eu.geclipse.core.model.IGridContainer
contains, create, delete, deleteAll, findChild, findChildWithResource, getChildCount, getChildren, hasChildren, isDirty, isLazy, refresh, setDirty
 
Methods inherited from interface eu.geclipse.core.model.IGridElement
dispose, getFileStore, getName, getParent, getPath, getProject, getResource, isHidden, isLocal, isVirtual
 

Method Detail

canContain

public boolean canContain(IGridElement element)
Description copied from interface: IGridContainer
Determines if this may contain the specified element. This method works type specific, i.e. a container may or may not contain elements of a specified type.

Specified by:
canContain in interface IGridContainer
Overrides:
canContain in class AbstractGridContainer
Parameters:
element - The element that may be contained in this container.
Returns:
If this container may contain the specified element.

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface IGridJobDescription
Returns:
free text user's description for job

getExecutable

public java.lang.String getExecutable()
Specified by:
getExecutable in interface IGridJobDescription
Returns:
name of executable file executed by job

getExecutableArguments

public java.util.List<java.lang.String> getExecutableArguments()
Specified by:
getExecutableArguments in interface IGridJobDescription
Returns:
arguments for executable file

getStdErrorFileName

public java.lang.String getStdErrorFileName()
Specified by:
getStdErrorFileName in interface IGridJobDescription
Returns:
filename on computing element for standard error

getStdErrorUri

public java.net.URI getStdErrorUri()
                            throws ProblemException
Specified by:
getStdErrorUri in interface IGridJobDescription
Returns:
URI to file containing standard error or null if std error is not staged out
Throws:
ProblemException - if URI cannot be created

getStdInputFileName

public java.lang.String getStdInputFileName()
Specified by:
getStdInputFileName in interface IGridJobDescription
Returns:
filename on computing element for standard input

getStdInputUri

public java.net.URI getStdInputUri()
                            throws ProblemException
Specified by:
getStdInputUri in interface IGridJobDescription
Returns:
URI to file containing standard input or null if std input is not staged in
Throws:
ProblemException - if URI cannot be created

getStdOutputFileName

public java.lang.String getStdOutputFileName()
Specified by:
getStdOutputFileName in interface IGridJobDescription
Returns:
filename on computing element for standard output

getStdOutputUri

public java.net.URI getStdOutputUri()
                             throws ProblemException
Specified by:
getStdOutputUri in interface IGridJobDescription
Returns:
URI to file containing standard output or null if std output is not staged out
Throws:
ProblemException - if URI cannot be created

getChildrenJobs

public java.util.List<IGridWorkflowJobDescription> getChildrenJobs()
Specified by:
getChildrenJobs in interface IGridWorkflowDescription
Returns:
jobs, which are inside this workflow

getWorkflowFilePath

public java.io.File getWorkflowFilePath()
Returns:

g-Eclipse
Release 1.0.0