Class ApplicationConfigTransformer

  • All Implemented Interfaces:
    org.nuiton.eugene.TemplateConfiguration

    public class ApplicationConfigTransformer
    extends org.nuiton.eugene.java.ObjectModelTransformerToJava
    To generate configuration java files from the options enum file.

    Created on 15/09/16.

    Since:
    3.0
    Author:
    Tony Chemit - dev@tchemit.fr
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String PROP_CONFIG  
      • Fields inherited from class org.nuiton.eugene.java.ObjectModelTransformerToJava

        builder, eugeneTagValues
      • Fields inherited from class org.nuiton.eugene.Transformer

        outputModel, outputProperties, outputTemplate, previousTransformer
      • Fields inherited from class org.nuiton.eugene.Template

        configuration, excludeTemplates, generatedPackages, model, resourcesHelper
      • Fields inherited from interface org.nuiton.eugene.TemplateConfiguration

        PROP_CLASS_LOADER, PROP_DEFAULT_PACKAGE, PROP_ENCODING, PROP_EXCLUDE_TEMPLATES, PROP_GENERATED_PACKAGES, PROP_LAST_MODIFIED_SOURCE, PROP_OVERWRITE, PROP_VERBOSE, PROP_WRITER_REPORT
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void transformFromModel​(org.nuiton.eugene.models.object.ObjectModel model)  
      • Methods inherited from class org.nuiton.eugene.java.ObjectModelTransformerToJava

        addAnnotation, addAnnotation, addAnnotationParameter, addAttribute, addAttribute, addAttribute, addAttribute, addBlock, addComment, addConstant, addConstant, addConstantsFromDependency, addConstructor, addConstructor, addException, addException, addGeneratedAnnotation, addI18n, addImport, addImport, addImport, addInnerClassifier, addInterface, addInterface, addLiteral, addOperation, addOperation, addOperation, addParameter, addParameter, addStereotype, addTagValue, addTagValue, cloneAttribute, cloneClass, cloneClassifier, cloneClassifier, cloneEnumeration, cloneInterface, cloneOperation, cloneOperationSignature, cloneStereotypes, cloneTagValues, copyClassifier, createAbstractClass, createClass, createEnumeration, createInterface, debugOutputModel, generateI18nBlock, getConstantName, getConstantPrefix, getConstantPrefix, getFileInClassPath, getJavaBeanMethodName, getJavaBeanMethodName, getPackage, getPackage, initConstantPrefixFromModel, initOutputModel, initOutputTemplate, isInClassPath, isInClassPath, isInClassPath, setConstantPrefix, setDocumentation, setMaxMultiplicity, setMinMultiplicity, setNavigable, setOperationBody, setSuperClass, setSuperClass
      • Methods inherited from class org.nuiton.eugene.models.object.ObjectModelTransformer

        transform, transformFromClass, transformFromClassifier, transformFromElement, transformFromEnumeration, transformFromInterface
      • Methods inherited from class org.nuiton.eugene.Transformer

        addOutputProperty, applyTemplate, getDefaultPackageName, getOutputModel, getOutputProperties, getOutputTemplate, init, initPreviousTransformer, transform
      • Methods inherited from class org.nuiton.eugene.Template

        getClassLoader, getConfiguration, getEncoding, getExcludeTemplates, getGeneratedPackages, getLastModifiedSource, getModel, getOverwrite, getProperties, getProperty, getProperty, getResourcesHelper, getWriterReport, isOverwrite, isVerbose, setConfiguration, setProperty
    • Constructor Detail

      • ApplicationConfigTransformer

        public ApplicationConfigTransformer()
    • Method Detail

      • transformFromModel

        public void transformFromModel​(org.nuiton.eugene.models.object.ObjectModel model)
        Overrides:
        transformFromModel in class org.nuiton.eugene.models.object.ObjectModelTransformer<org.nuiton.eugene.models.object.ObjectModel>