Class CodeCompiler

java.lang.Object
cruise.umple.compiler.CodeCompiler

public class CodeCompiler
extends java.lang.Object
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static java.lang.String console  
    static boolean subsequentCompilation  
  • Constructor Summary

    Constructors 
    Constructor Description
    CodeCompiler()  
  • Method Summary

    Modifier and Type Method Description
    static boolean compile​(UmpleModel model, java.lang.String generator, boolean useExec, boolean beQuiet, java.lang.String entryClass, java.lang.String errorFileName, java.lang.String... extraArgs)
    true if compile used more than once to quell messages
    void delete()  
    static boolean genDotDiagram​(UmpleModel model, GenerateTarget gt, boolean beQuiet, java.lang.String graphicFormat)
    Compiles graphviz files to various outputs: .svg (default), using dot
    static java.util.List<UmpleClass> getMainClasses​(UmpleModel model)  
    static java.lang.String getSimpleFileName​(java.lang.String fileName)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • delete

      public void delete()
    • compile

      public static boolean compile​(UmpleModel model, java.lang.String generator, boolean useExec, boolean beQuiet, java.lang.String entryClass, java.lang.String errorFileName, java.lang.String... extraArgs)
      true if compile used more than once to quell messages
    • genDotDiagram

      public static boolean genDotDiagram​(UmpleModel model, GenerateTarget gt, boolean beQuiet, java.lang.String graphicFormat)
      Compiles graphviz files to various outputs: .svg (default), using dot
    • getSimpleFileName

      public static java.lang.String getSimpleFileName​(java.lang.String fileName)
    • getMainClasses

      public static java.util.List<UmpleClass> getMainClasses​(UmpleModel model)