Class ChartCompiler

java.lang.Object
com.inductiveautomation.sfc.uimodel.ChartCompiler

public class ChartCompiler extends Object
  • Field Details

    • FIND_BEGIN

      public static final com.google.common.base.Predicate<ChartUIElement> FIND_BEGIN
  • Constructor Details

  • 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

      public ChartCompilationResults compile()
    • checkExpressionSyntax

      public static void checkExpressionSyntax(String expression) throws Exception
      Throws:
      Exception
    • isEndStep

      public static boolean isEndStep(ChartUIElement element)
      Tests whether or not the given element is an End step
    • isBeginStep

      public static boolean isBeginStep(ChartUIElement element)
      Tests whether or not the given element is a Begin step