Package cruise.umple.compiler
Interface CodeGenerator
- All Known Implementing Classes:
AlloyGenerator
,ClassMetrics
,CodeAnalysisGenerator
,CodeGeneratorWithSubptions
,CodeMetrics
,EcoreGenerator
,EventSequenceGenerator
,ExternalGrammarGenerator
,GvClassDiagramGenerator
,GvClassTraitDiagramGenerator
,GvEntityRelationshipDiagramGenerator
,GvFeatureDiagramGenerator
,GvStateDiagramGenerator
,JavaGenerator
,JsonGenerator
,JsonMixedGenerator
,NothingGenerator
,NuSMVGenerator
,NuSMVOptimizerGenerator
,PapyrusGenerator
,PhpGenerator
,PlainRequirementsDocGenerator
,PythonGenerator
,RTCppGenerator
,RubyGenerator
,Scope
,ScxmlGenerator
,SimpleMetricsGenerator
,SimulateGenerator
,SqlGenerator
,StateMachineMetrics
,StateTablesGenerator
,StructureDiagramGenerator
,SuperCodeGenerator
,SuperGvGenerator
,TestGenerator
,TextUmlGenerator
,Uigu2Generator
,UmletGenerator
,UmpleAnnotaiveToCompositionGenerator
,UmpleGenerator
,UmpleSelfGenerator
,USEGenerator
,VioletGenerator
,XmiGenerator
,XtextGenerator
,YumlGenerator
public interface CodeGenerator
Allows independent code generation tools
Different generators will do different things regarding where the files are put, etc.
-
Method Summary
Modifier and Type Method Description void
generate()
double
getSuboptionValue(java.lang.String subopt, java.lang.Double defaultVal)
boolean
hasSuboption(java.lang.String subopt)
void
postpare()
void
prepare()
boolean
setModel(UmpleModel aUmpleModel)
boolean
setOutput(java.lang.String aString)
boolean
setSuboption(java.lang.String subopt)
-
Method Details
-
setModel
-
setOutput
boolean setOutput(java.lang.String aString) -
setSuboption
boolean setSuboption(java.lang.String subopt) -
hasSuboption
boolean hasSuboption(java.lang.String subopt) -
getSuboptionValue
double getSuboptionValue(java.lang.String subopt, java.lang.Double defaultVal) -
generate
void generate() -
prepare
void prepare() -
postpare
void postpare()
-