|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.embl.ebi.escience.scufl.Processor
org.embl.ebi.escience.scuflworkers.workflow.WorkflowProcessor
public class WorkflowProcessor
A processor containing a full ScuflModel instance. Ports on the processor are directly copied in terms of names and types from the input and output ports of the underlying ScuflModel object.
| Field Summary |
|---|
| Fields inherited from interface org.embl.ebi.escience.scufl.IProcessor |
|---|
ENACTOR |
| Constructor Summary | |
|---|---|
WorkflowProcessor(ScuflModel model,
java.lang.String name)
Construct a new processor with a blank internal workflow |
|
WorkflowProcessor(ScuflModel model,
java.lang.String name,
org.jdom.Element scuflElement)
Construct a new processor from the supplied JDOM element, this element being the 'scufl' top level workflow element from an inline nested workflow declaration |
|
WorkflowProcessor(ScuflModel model,
java.lang.String name,
java.lang.String definitionURL)
Construct a new processor with the given model to bind to, name and URL of a workflow description to contain. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDefinitionURL()
|
ScuflModel |
getInternalModel()
|
ScuflModel |
getInternalModelForEditing()
Returns a ScuflModel that is being listened to by the processor So that any internal changes are automatically reflected in the processor The client is responsible for calling ScuflModel.removeListeners once the model is finished with. |
int |
getMaximumWorkers()
Return the maximum number of task implementations that should be launched for this processor. |
java.util.Properties |
getProperties()
Get the properties for this processor for display purposes |
void |
removeInternalModelEventListener()
Removes the ScuflModelEventListener from the internal ScuflModel |
void |
setDefinitionURL(java.lang.String definitionURL)
|
void |
setOffline()
Go offline |
void |
setOnline()
Go online |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WorkflowProcessor(ScuflModel model,
java.lang.String name,
java.lang.String definitionURL)
throws ProcessorCreationException,
DuplicateProcessorNameException
ProcessorCreationException
DuplicateProcessorNameException
public WorkflowProcessor(ScuflModel model,
java.lang.String name,
org.jdom.Element scuflElement)
throws ProcessorCreationException,
DuplicateProcessorNameException
ProcessorCreationException
DuplicateProcessorNameException
public WorkflowProcessor(ScuflModel model,
java.lang.String name)
throws ProcessorCreationException,
DuplicateProcessorNameException
ProcessorCreationException
DuplicateProcessorNameException| Method Detail |
|---|
public void setOffline()
setOffline in interface IProcessorsetOffline in class Processorpublic void setOnline()
setOnline in interface IProcessorsetOnline in class Processorpublic int getMaximumWorkers()
Processor
getMaximumWorkers in interface IProcessorgetMaximumWorkers in class Processorpublic void removeInternalModelEventListener()
removeInternalModelEventListener in interface ScuflWorkflowProcessorpublic ScuflModel getInternalModelForEditing()
getInternalModelForEditing in interface ScuflWorkflowProcessorpublic ScuflModel getInternalModel()
getInternalModel in interface ScuflWorkflowProcessorpublic java.util.Properties getProperties()
getProperties in interface IProcessorgetProperties in class Processorpublic java.lang.String getDefinitionURL()
getDefinitionURL in interface ScuflWorkflowProcessorpublic void setDefinitionURL(java.lang.String definitionURL)
setDefinitionURL in interface ScuflWorkflowProcessor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||