public class WorkflowManager extends java.lang.Object implements ChangeListener
Constructor and Description |
---|
WorkflowManager() |
Modifier and Type | Method and Description |
---|---|
void |
changeExecuted(ChangeRequest change)
React to a change request has been successfully executed.
|
void |
changeFailed(ChangeRequest change,
java.lang.Exception exception)
React to a change request has resulted in an exception.
|
static WorkflowManager |
getInstance() |
java.util.List<KeplerLSID> |
getKeplerLSID(TableauFrame tableauFrame)
Return a List of LSIDS that are associated with the given TableauFrame.
|
static TableauFrame |
getRankingTableauFrame() |
Workflow |
getWorkflow(TableauFrame tableauFrame,
KeplerLSID workflowId) |
Workflow |
removeWorkflow(KeplerLSID workflowId) |
static void |
setRankingTableauFrame(TableauFrame tableauFrame) |
boolean |
workflowExists(KeplerLSID workflowId) |
public WorkflowManager()
public static WorkflowManager getInstance()
public Workflow getWorkflow(TableauFrame tableauFrame, KeplerLSID workflowId)
workflowId
- public java.util.List<KeplerLSID> getKeplerLSID(TableauFrame tableauFrame)
tableauFrame
- public Workflow removeWorkflow(KeplerLSID workflowId)
workflowId
- public boolean workflowExists(KeplerLSID workflowId)
workflowId
- public void changeExecuted(ChangeRequest change)
ChangeListener
changeExecuted
in interface ChangeListener
change
- The change that has been executed, or null if
the change was not done via a ChangeRequest.public void changeFailed(ChangeRequest change, java.lang.Exception exception)
ChangeListener
changeFailed
in interface ChangeListener
change
- The change that was attempted or null if
the change was not done via a ChangeRequest.exception
- The exception that resulted.public static TableauFrame getRankingTableauFrame()
public static void setRankingTableauFrame(TableauFrame tableauFrame)