org.eclipse.gmt.modisco.workflow
Interface WorkflowModel

All Superinterfaces:
Element, ExportInfos, Workflow, WorkflowModelEventsSubscribe

Deprecated.

@Deprecated
public interface WorkflowModel
extends Workflow, WorkflowModelEventsSubscribe

API to define the workflow core

Author:
Nicolas Payneau

Method Summary
 void addElement(Element element)
          Deprecated. Add a component in the workflow
 void downElement(int indexSelected)
          Deprecated. To down an element in the workflow
 void exportWorkflow(URI outputUri)
          Deprecated. Allows to export the workflow
 java.util.List<Element> getAllElements()
          Deprecated. Allows to retrieve all components of the workflow
 Element getElement(int index)
          Deprecated. Allows to retrieve a component at index specified
 void initialization(ILaunchConfiguration configuration)
          Deprecated. Allows to initialize or load the workflow
 void moveResource(java.lang.String path)
          Deprecated. Allows to move the resource
 void removeElement(int index)
          Deprecated. Allows to delete a component at index specified
 void removeResource(java.lang.String resourcePath)
          Deprecated. Allows to remove the resource
 void save(ILaunchConfigurationWorkingCopy configuration)
          Deprecated. Allows to save the resource
 void setElement(int index, Element element)
          Deprecated. Change a component in the workflow
 void synchronization(java.util.List<Element> elements)
          Deprecated. Allows to synchronize all resources contained in the workflow
 void upElement(int indexSelected)
          Deprecated. To up an element in the workflow
 
Methods inherited from interface org.eclipse.gmt.modisco.workflow.modiscoworkflow.Workflow
getElements
 
Methods inherited from interface org.eclipse.gmt.modisco.workflow.modiscoworkflow.Element
getIndex, getName, getType, setIndex, setName, setType
 
Methods inherited from interface org.eclipse.gmt.modisco.workflow.modiscoworkflow.ExportInfos
getAllUnitsOfWork, getPackageBase, getSymbolicName, setPackageBase, setSymbolicName
 
Methods inherited from interface org.eclipse.gmt.modisco.workflow.WorkflowModelEventsSubscribe
subscribe, unsubscribe
 

Method Detail

getElement

Element getElement(int index)
Deprecated. 
Allows to retrieve a component at index specified

Parameters:
index - Component index
Returns:
Return an element

getAllElements

java.util.List<Element> getAllElements()
Deprecated. 
Allows to retrieve all components of the workflow

Returns:
an element list

addElement

void addElement(Element element)
Deprecated. 
Add a component in the workflow

Parameters:
element - Element which represents a launch configuration

setElement

void setElement(int index,
                Element element)
Deprecated. 
Change a component in the workflow

Parameters:
index - Component index
element - The new element

upElement

void upElement(int indexSelected)
Deprecated. 
To up an element in the workflow

Parameters:
indexSelected - Index of item selected

downElement

void downElement(int indexSelected)
Deprecated. 
To down an element in the workflow

Parameters:
indexSelected - Index of item selected

removeElement

void removeElement(int index)
Deprecated. 
Allows to delete a component at index specified

Parameters:
index - Component index

initialization

void initialization(ILaunchConfiguration configuration)
Deprecated. 
Allows to initialize or load the workflow

Parameters:
configuration - Launch configuration associated

save

void save(ILaunchConfigurationWorkingCopy configuration)
Deprecated. 
Allows to save the resource

Parameters:
configuration - Launch configuration associated

moveResource

void moveResource(java.lang.String path)
Deprecated. 
Allows to move the resource

Parameters:
path - Workflow resource path

removeResource

void removeResource(java.lang.String resourcePath)
Deprecated. 
Allows to remove the resource

Parameters:
path - Workflow resource path

exportWorkflow

void exportWorkflow(URI outputUri)
Deprecated. 
Allows to export the workflow

Parameters:
configuration - The launch configuration associated
outputPath - The output path

synchronization

void synchronization(java.util.List<Element> elements)
Deprecated. 
Allows to synchronize all resources contained in the workflow

Parameters:
elements - All elements contained in the MoDiscoWorkflow