Package org.nuiton.eugene
Interface TemplateConfiguration
-
- All Known Implementing Classes:
AbstractGenerator
,AbstractMetaTransformer
,DefaultTemplateConfiguration
,JavaGenerator
,ObjectModelGenerator
,ObjectModelTransformer
,ObjectModelTransformerToJava
,StateModelGenerator
,Template
,Transformer
public interface TemplateConfiguration
Contract of aTemplate
configuration- Since:
- 2.0.2
- Author:
- Tony Chemit - chemit@codelutin.com
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROP_CLASS_LOADER
static String
PROP_DEFAULT_PACKAGE
static String
PROP_ENCODING
static String
PROP_EXCLUDE_TEMPLATES
static String
PROP_GENERATED_PACKAGES
static String
PROP_LAST_MODIFIED_SOURCE
static String
PROP_OVERWRITE
static String
PROP_VERBOSE
static String
PROP_WRITER_REPORT
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClassLoader
getClassLoader()
String
getEncoding()
long
getLastModifiedSource()
Properties
getProperties()
String
getProperty(String key)
<V> V
getProperty(String key, Class<V> type)
WriterReport
getWriterReport()
boolean
isOverwrite()
boolean
isVerbose()
void
setProperty(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
-
-
Method Detail
-
isOverwrite
boolean isOverwrite()
- Returns:
true
if must regenerate files even if they are up to date
-
isVerbose
boolean isVerbose()
- Returns:
true
if 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()
-
-