|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WorkflowModel
API to define the workflow core
Method Summary | |
---|---|
void |
addElement(Element element)
Add a component in the workflow |
void |
exportWorkflow(URI outputUri)
Export the workflow |
java.util.List<Element> |
getAllElements()
Retrieve all components of the workflow |
Element |
getElement(int index)
Retrieve a component at the index specified |
void |
initialize(ILaunchConfiguration configuration)
Initialize or load the workflow |
void |
moveElementDown(int index)
To move an element down in the workflow |
void |
moveElementUp(int index)
To move an element up in the workflow |
void |
moveResource(java.lang.String path)
Move the resource to a new path. |
void |
removeElement(int index)
Delete a component at the index specified |
void |
removeResource(java.lang.String resourcePath)
Allows to remove the resource |
void |
save(ILaunchConfigurationWorkingCopy configuration)
Save the resource |
void |
setElement(int index,
Element element)
Change a component in the workflow |
void |
synchronize(java.util.List<Element> elements)
Synchronize resources contained in the workflow |
Methods inherited from interface org.eclipse.modisco.workflow.modiscoworkflow.Workflow |
---|
getElements |
Methods inherited from interface org.eclipse.modisco.workflow.modiscoworkflow.Element |
---|
getIndex, getName, getType, setIndex, setName, setType |
Methods inherited from interface org.eclipse.modisco.workflow.modiscoworkflow.ExportInfos |
---|
getAllUnitsOfWork, getPackageBase, getSymbolicName, setPackageBase, setSymbolicName |
Methods inherited from interface org.eclipse.modisco.workflow.core.WorkflowModelNotifier |
---|
addListener, removeListener |
Method Detail |
---|
Element getElement(int index)
index
- Component index
java.util.List<Element> getAllElements()
void addElement(Element element)
element
- Element which represents a launch configurationvoid setElement(int index, Element element)
index
- Component indexelement
- the new elementvoid moveElementUp(int index)
index
- index of the element to move upvoid moveElementDown(int index)
index
- index of the element to move downvoid removeElement(int index)
index
- Component indexvoid initialize(ILaunchConfiguration configuration)
configuration
- Launch configuration associatedvoid save(ILaunchConfigurationWorkingCopy configuration)
configuration
- Launch configuration associatedvoid moveResource(java.lang.String path)
path
- the new Workflow resource pathvoid removeResource(java.lang.String resourcePath)
path
- Workflow resource pathvoid exportWorkflow(URI outputUri)
outputUri
- The output locationvoid synchronize(java.util.List<Element> elements)
elements
- elements to synchronize, contained in the MoDiscoWorkflow
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |