|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.openemcee.microflow.frontend.MicroflowFactory
The Microflow factory is a Façade which provides simplified access to flows.
| Nested Class Summary | |
class |
MicroflowFactory.MicroflowNotFoundException
The requested microflow was not found. |
| Field Summary | |
static java.lang.String |
MICROFLOW_FACTORY_KEY
Microflows created with the factory will have access to the creating factory, by accessing the named attribute at this key. |
| Constructor Summary | |
MicroflowFactory(java.lang.String urlBase)
Creates a new instance of MicroflowLauncher. |
|
| Method Summary | |
protected JobDescriptor |
getJob(java.lang.String microflowName)
Access a job from an XML descriptor. |
MicroflowRunner |
getRunner(java.lang.String microflowName)
Access a job from an XML job descriptor. |
void |
setValidating(boolean isValidating)
Tell the parser to validate. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String MICROFLOW_FACTORY_KEY
| Constructor Detail |
public MicroflowFactory(java.lang.String urlBase)
urlBase - The base url relative to which we will look for Microflows.| Method Detail |
public void setValidating(boolean isValidating)
isValidating - True means validate xml, false means don't.
protected JobDescriptor getJob(java.lang.String microflowName)
throws MicroflowFactory.MicroflowNotFoundException
microflowName - The name of the microflow relative to the urlBase, without ".xml"
MicroflowFactory.MicroflowNotFoundException - The microflow was not found, or was not compile-able. See msg for more info.
public MicroflowRunner getRunner(java.lang.String microflowName)
throws MicroflowFactory.MicroflowNotFoundException
microflowName - The name of the microflow relative to the urlBase, without ".xml"
MicroflowFactory.MicroflowNotFoundException - The microflow was not found, or was not compile-able. See msg for more info.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||