public class ChartCompiler
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ChartCompiler.DummyExpressionParseContext
Dummy context used to test expression syntax
|
static class |
ChartCompiler.LinkOrder |
Modifier and Type | Field and Description |
---|---|
static com.google.common.base.Predicate<ChartUIElement> |
FIND_BEGIN |
Constructor and Description |
---|
ChartCompiler(ChartUIModel model,
StepRegistry registry) |
ChartCompiler(ChartUIModel model,
StepRegistry registry,
boolean addVirtualElements) |
ChartCompiler(ChartUIModel model,
StepRegistry registry,
java.util.Map<java.lang.String,java.util.UUID> previousVirtualElements) |
Modifier and Type | Method and Description |
---|---|
static void |
checkExpressionSyntax(java.lang.String expression) |
ChartCompilationResults |
compile() |
boolean |
isAddVirtualElements() |
static boolean |
isBeginStep(ChartUIElement element)
Tests whether or not the given element is a Begin step
|
boolean |
isCompileParallels() |
static boolean |
isEndStep(ChartUIElement element)
Tests whether or not the given element is an End step
|
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.
|
void |
setCompileParallels(boolean compileParallels)
Set this to false to not compile the parallel blocks.
|
public static final com.google.common.base.Predicate<ChartUIElement> FIND_BEGIN
public ChartCompiler(ChartUIModel model, StepRegistry registry)
public ChartCompiler(ChartUIModel model, StepRegistry registry, java.util.Map<java.lang.String,java.util.UUID> previousVirtualElements)
public ChartCompiler(ChartUIModel model, StepRegistry registry, boolean addVirtualElements)
public boolean isCompileParallels()
public void setCompileParallels(boolean compileParallels)
public boolean isAddVirtualElements()
public void setAddVirtualElements(boolean addVirtualElements)
public ChartCompilationResults compile()
public static void checkExpressionSyntax(java.lang.String expression) throws java.lang.Exception
java.lang.Exception
public static boolean isEndStep(ChartUIElement element)
public static boolean isBeginStep(ChartUIElement element)