public class SCXMLEngine extends org.apache.commons.scxml.SCXMLExecutor implements Engine
Constructor and Description |
---|
SCXMLEngine()
Constructor
|
SCXMLEngine(List<CustomTagExtension> tagExtensionList)
Alternative Constructor to support InLineTransformers within the model
|
Modifier and Type | Method and Description |
---|---|
List<PossibleState> |
bfs(int min)
Performs a partial BFS on model until the search frontier reaches the desired bootstrap size
|
void |
process(SearchDistributor distributor)
Performs the BFS and gives the results to a distributor to distribute
|
Engine |
setBootstrapMin(int min)
bootstrapMin setter
|
void |
setModelByInputFileStream(InputStream inputFileStream)
Sets the SCXML model with an InputStream
|
void |
setModelByText(String model)
Sets the SCXML model with a string
|
addListener, addListener, addListener, getCurrentStatus, getErrorReporter, getEvaluator, getEventdispatcher, getRootContext, getStateMachine, go, isSuperStep, registerInvokerClass, removeListener, removeListener, removeListener, reset, setErrorReporter, setEvaluator, setEventdispatcher, setRootContext, setStateMachine, setSuperStep, triggerEvent, triggerEvents, unregisterInvokerClass
public SCXMLEngine()
public SCXMLEngine(List<CustomTagExtension> tagExtensionList)
tagExtensionList
- the list of extensions to addpublic List<PossibleState> bfs(int min) throws org.apache.commons.scxml.model.ModelException
min
- the desired bootstrap sizeorg.apache.commons.scxml.model.ModelException
- if the desired bootstrap can not be reachedpublic void process(SearchDistributor distributor)
public void setModelByInputFileStream(InputStream inputFileStream)
setModelByInputFileStream
in interface Engine
inputFileStream
- the model input streampublic void setModelByText(String model)
setModelByText
in interface Engine
model
- the model textpublic Engine setBootstrapMin(int min)
setBootstrapMin
in interface Engine
min
- sets the desired bootstrap minCopyright © 2016. All rights reserved.