Package cruise.umple.compiler
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 messagesvoid
delete()
static boolean
genDotDiagram(UmpleModel model, GenerateTarget gt, boolean beQuiet, java.lang.String graphicFormat)
Compiles graphviz files to various outputs: .svg (default), using dotstatic java.util.List<UmpleClass>
getMainClasses(UmpleModel model)
static java.lang.String
getSimpleFileName(java.lang.String fileName)
-
Field Details
-
console
public static java.lang.String console -
subsequentCompilation
public static boolean subsequentCompilation
-
-
Constructor Details
-
CodeCompiler
public CodeCompiler()
-
-
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
-