public class WorkflowExecutor extends Object implements eu.dnetlib.enabling.common.Stoppable
| Constructor and Description |
|---|
WorkflowExecutor() |
| Modifier and Type | Method and Description |
|---|---|
com.googlecode.sarasvati.mem.MemEngine |
getEngine() |
GraphLoader |
getGraphLoader() |
GraphProcessRegistry |
getGraphProcessRegistry() |
int |
getMaxRunningWorkflows() |
ProfileToSarasvatiConverter |
getProfileToSarasvatiConverter() |
eu.dnetlib.enabling.common.StoppableDetails |
getStopDetails() |
void |
init() |
boolean |
isPaused() |
void |
resume() |
void |
setEngine(com.googlecode.sarasvati.mem.MemEngine engine) |
void |
setGraphLoader(GraphLoader graphLoader) |
void |
setGraphProcessRegistry(GraphProcessRegistry graphProcessRegistry) |
void |
setMaxRunningWorkflows(int maxRunningWorkflows) |
void |
setPaused(boolean paused) |
void |
setProfileToSarasvatiConverter(ProfileToSarasvatiConverter profileToSarasvatiConverter) |
void |
startMetaWorkflow(String id,
boolean manual) |
String |
startProcess(String profileId) |
String |
startProcess(String profileId,
Map<String,Object> params) |
void |
stop() |
public boolean isPaused()
public void setPaused(boolean paused)
public void init()
public String startProcess(String profileId, Map<String,Object> params) throws Exception
Exceptionpublic void startMetaWorkflow(String id, boolean manual) throws Exception
Exceptionpublic GraphLoader getGraphLoader()
public void setGraphLoader(GraphLoader graphLoader)
public com.googlecode.sarasvati.mem.MemEngine getEngine()
public void setEngine(com.googlecode.sarasvati.mem.MemEngine engine)
public GraphProcessRegistry getGraphProcessRegistry()
public void setGraphProcessRegistry(GraphProcessRegistry graphProcessRegistry)
public ProfileToSarasvatiConverter getProfileToSarasvatiConverter()
public void setProfileToSarasvatiConverter(ProfileToSarasvatiConverter profileToSarasvatiConverter)
public void stop()
stop in interface eu.dnetlib.enabling.common.Stoppablepublic void resume()
resume in interface eu.dnetlib.enabling.common.Stoppablepublic eu.dnetlib.enabling.common.StoppableDetails getStopDetails()
getStopDetails in interface eu.dnetlib.enabling.common.Stoppablepublic int getMaxRunningWorkflows()
public void setMaxRunningWorkflows(int maxRunningWorkflows)
Copyright © 2018. All rights reserved.