Class ChartCompiler
java.lang.Object
com.inductiveautomation.sfc.uimodel.ChartCompiler
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classDummy context used to test expression syntaxstatic class
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionChartCompiler(ChartUIModel model, StepRegistry registry) ChartCompiler(ChartUIModel model, StepRegistry registry, boolean addVirtualElements) ChartCompiler(ChartUIModel model, StepRegistry registry, Map<String, UUID> previousVirtualElements) 
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidcheckExpressionSyntax(String expression) compile()booleanstatic booleanisBeginStep(ChartUIElement element) Tests whether or not the given element is a Begin stepbooleanstatic booleanisEndStep(ChartUIElement element) Tests whether or not the given element is an End stepvoidsetAddVirtualElements(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.voidsetCompileParallels(boolean compileParallels) Set this to false to not compile the parallel blocks.
- 
Field Details- 
FIND_BEGIN
 
- 
- 
Constructor Details- 
ChartCompiler
- 
ChartCompilerpublic ChartCompiler(ChartUIModel model, StepRegistry registry, Map<String, UUID> previousVirtualElements) 
- 
ChartCompiler
 
- 
- 
Method Details- 
isCompileParallelspublic boolean isCompileParallels()
- 
setCompileParallelspublic void setCompileParallels(boolean compileParallels) Set this to false to not compile the parallel blocks. Default is true
- 
isAddVirtualElementspublic boolean isAddVirtualElements()
- 
setAddVirtualElementspublic 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
 
- 
isEndStepTests whether or not the given element is an End step
- 
isBeginStepTests whether or not the given element is a Begin step
 
-