eu.geclipse.workflow.resources
Class GridWorkflow
java.lang.Object
PlatformObject
eu.geclipse.core.model.impl.AbstractGridElement
eu.geclipse.core.model.impl.AbstractGridContainer
eu.geclipse.core.model.impl.ResourceGridContainer
eu.geclipse.workflow.resources.GridWorkflow
- All Implemented Interfaces:
- IGridContainer, IGridElement, IGridJobDescription, IGridWorkflowDescription
public class GridWorkflow
- extends ResourceGridContainer
- implements IGridWorkflowDescription
Grid element for workflow description
| 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 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 |
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: