Package org.nuiton.eugene
Interface TemplateConfiguration
-
- All Known Implementing Classes:
AbstractGenerator,AbstractMetaTransformer,DefaultTemplateConfiguration,FriendTemplatesGenerator,JavaGenerator,ObjectModelGenerator,ObjectModelTransformer,ObjectModelTransformerToJava,StateModelGenerator,Template,Transformer
public interface TemplateConfigurationContract of aTemplateconfiguration- Since:
- 2.0.2
- Author:
- Tony Chemit - dev@tchemit.fr
-
-
Field Summary
Fields Modifier and Type Field Description static StringPROP_CLASS_LOADERstatic StringPROP_DEFAULT_PACKAGEstatic StringPROP_ENCODINGstatic StringPROP_EXCLUDE_TEMPLATESstatic StringPROP_GENERATED_PACKAGESstatic StringPROP_I18N_GETTER_FILEstatic StringPROP_LAST_MODIFIED_SOURCEstatic StringPROP_OUTPUT_DIRECTORYstatic StringPROP_OVERWRITEstatic StringPROP_RESOURCE_DIRECTORYstatic StringPROP_VERBOSEstatic StringPROP_WRITER_REPORT
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ClassLoadergetClassLoader()StringgetEncoding()default io.ultreia.java4all.i18n.spi.builder.I18nKeySetgetI18nGetterFile()longgetLastModifiedSource()PropertiesgetProperties()StringgetProperty(String key)<V> VgetProperty(String key, Class<V> type)WriterReportgetWriterReport()booleanisOverwrite()booleanisVerbose()default voidsetI18nGetterFile(io.ultreia.java4all.i18n.spi.builder.I18nKeySet i18nKeysFile)voidsetProperty(String key, Object value)
-
-
-
Field Detail
-
PROP_OVERWRITE
static final String PROP_OVERWRITE
- See Also:
- Constant Field Values
-
PROP_VERBOSE
static final String PROP_VERBOSE
- See Also:
- Constant Field Values
-
PROP_ENCODING
static final String PROP_ENCODING
- See Also:
- Constant Field Values
-
PROP_CLASS_LOADER
static final String PROP_CLASS_LOADER
- See Also:
- Constant Field Values
-
PROP_DEFAULT_PACKAGE
static final String PROP_DEFAULT_PACKAGE
- See Also:
- Constant Field Values
-
PROP_LAST_MODIFIED_SOURCE
static final String PROP_LAST_MODIFIED_SOURCE
- See Also:
- Constant Field Values
-
PROP_GENERATED_PACKAGES
static final String PROP_GENERATED_PACKAGES
- See Also:
- Constant Field Values
-
PROP_EXCLUDE_TEMPLATES
static final String PROP_EXCLUDE_TEMPLATES
- See Also:
- Constant Field Values
-
PROP_WRITER_REPORT
static final String PROP_WRITER_REPORT
- See Also:
- Constant Field Values
-
PROP_OUTPUT_DIRECTORY
static final String PROP_OUTPUT_DIRECTORY
- See Also:
- Constant Field Values
-
PROP_RESOURCE_DIRECTORY
static final String PROP_RESOURCE_DIRECTORY
- See Also:
- Constant Field Values
-
PROP_I18N_GETTER_FILE
static final String PROP_I18N_GETTER_FILE
- See Also:
- Constant Field Values
-
-
Method Detail
-
isOverwrite
boolean isOverwrite()
- Returns:
trueif must regenerate files even if they are up to date
-
isVerbose
boolean isVerbose()
- Returns:
trueif build is verbose.
-
getEncoding
String getEncoding()
- Returns:
- encoding to use to read and write files
-
getClassLoader
ClassLoader getClassLoader()
- Returns:
- the classloader to use to seek for resources
-
getWriterReport
WriterReport getWriterReport()
-
getLastModifiedSource
long getLastModifiedSource()
-
getProperties
Properties getProperties()
-
getI18nGetterFile
default io.ultreia.java4all.i18n.spi.builder.I18nKeySet getI18nGetterFile()
-
setI18nGetterFile
default void setI18nGetterFile(io.ultreia.java4all.i18n.spi.builder.I18nKeySet i18nKeysFile)
-
-