Class ChartCompiler
java.lang.Object
com.inductiveautomation.sfc.uimodel.ChartCompiler
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Dummy context used to test expression syntaxstatic class
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionChartCompiler
(ChartUIModel model, StepRegistry registry) ChartCompiler
(ChartUIModel model, StepRegistry registry, boolean addVirtualElements) ChartCompiler
(ChartUIModel model, StepRegistry registry, Map<String, UUID> previousVirtualElements) -
Method Summary
Modifier and TypeMethodDescriptionstatic void
checkExpressionSyntax
(String expression) compile()
boolean
static boolean
isBeginStep
(ChartUIElement element) Tests whether or not the given element is a Begin stepboolean
static boolean
isEndStep
(ChartUIElement element) Tests whether or not the given element is an End stepvoid
setAddVirtualElements
(boolean addVirtualElements) Set to true in order to add "virtual" (empty) elements to ensure that every step is followed by a transition, and every transition is followed by a step.void
setCompileParallels
(boolean compileParallels) Set this to false to not compile the parallel blocks.
-
Field Details
-
FIND_BEGIN
-
-
Constructor Details
-
ChartCompiler
-
ChartCompiler
public ChartCompiler(ChartUIModel model, StepRegistry registry, Map<String, UUID> previousVirtualElements) -
ChartCompiler
-
-
Method Details
-
isCompileParallels
public boolean isCompileParallels() -
setCompileParallels
public void setCompileParallels(boolean compileParallels) Set this to false to not compile the parallel blocks. Default is true -
isAddVirtualElements
public boolean isAddVirtualElements() -
setAddVirtualElements
public void setAddVirtualElements(boolean addVirtualElements) Set to true in order to add "virtual" (empty) elements to ensure that every step is followed by a transition, and every transition is followed by a step. * -
compile
-
checkExpressionSyntax
- Throws:
Exception
-
isEndStep
Tests whether or not the given element is an End step -
isBeginStep
Tests whether or not the given element is a Begin step
-