public class Configuration extends Object implements ConfigurationOptionKeys
Modifier and Type | Field and Description |
---|---|
private VALJOConfigure |
configureAnnotation |
private VALJOGenerate |
generateAnnotation |
private HashMap<String,Supplier<String>> |
macros
This decl only shows the custom macros.
|
private Locale |
optDefaultLocale |
private Map<String,String> |
options |
private Date |
processorExecutionDate |
private String |
sourceElementName |
private SourceVersion |
targetSourceVersion |
baseClazzConstructors, baseClazzName, clazzAnnotations, clazzJavaDoc, clazzModifiers, comment, comparableMembers, customJavaTemplateFileName, dataConversion, debugStringTemplates, ensureNotNullEnabled, equalsEnabled, extraInterfaceNames, finalMembersAndParametersEnabled, finalMethodsEnabled, forceThisAsImmutableSetterReturnType, getterPrefixes, hashEnabled, headerFileName, ignoreMalformedProperties, importClasses, insertInheritDocOnMethodsEnabled, lineWidth, localeTag, LOGFILE, logLevel, memberAnnotations, methodAnnotations, mutability, name, outputPackage, serialVersionUID, setterPrefixes, SOURCEPATH, staticFactoryMethodEnabled, suggestedVariablesPrefix, synchronizedAccessEnabled, toStringEnabled, warnAboutSynthesisedNames
Constructor and Description |
---|
Configuration(String sourceElementName,
SourceVersion targetSourceVersion,
VALJOGenerate annotation,
Locale optDefaultLocale,
Map<String,String> options) |
Configuration(String sourceElementName,
SourceVersion targetSourceVersion,
VALJOGenerate annotation,
VALJOConfigure configureAnnotation,
Locale optDefaultLocale,
Map<String,String> options) |
private final String sourceElementName
private final VALJOGenerate generateAnnotation
private final VALJOConfigure configureAnnotation
private final Locale optDefaultLocale
private final Date processorExecutionDate
private final SourceVersion targetSourceVersion
public Configuration(String sourceElementName, SourceVersion targetSourceVersion, VALJOGenerate annotation, Locale optDefaultLocale, Map<String,String> options)
public Configuration(String sourceElementName, SourceVersion targetSourceVersion, VALJOGenerate annotation, VALJOConfigure configureAnnotation, Locale optDefaultLocale, Map<String,String> options)
public SourceVersion getTargetSourceVersion()
public boolean isTargetSourceVersionJava6OrHigher()
public boolean isTargetSourceVersionJava7OrHigher()
public boolean isTargetSourceVersionJava8OrHigher()
private final Properties getConfigFileOptions()
public String getSourceElementName()
public Date getExecutionDate()
public String getLocaleTag()
public Locale getLocale()
public int getLineWidth()
public Mutability getMutability()
public DataConversion getDataConversion()
public boolean isFinalMembersAndParametersEnabled()
public boolean isFinalMethodsEnabled()
public boolean isStaticFactoryMethodEnabled()
public boolean isEnsureNotNullEnabled()
public boolean isSynchronizedAccessEnabled()
public boolean isMalformedPropertiesIgnored()
public String getPackage()
public String getName()
public String[] getImportClasses()
public String[] getExtraInterfaces()
public String[] getGetterPrefixes()
public String[] getSetterPrefixes()
public boolean isThisAsImmutableSetterReturnTypeEnabled()
public String getBaseClazzName()
public String[] getBaseClazzConstructors()
public String getSuggestedVariablesPrefix()
public long getSerialVersionUID()
public boolean getSerialVersionUIDSpecified()
public boolean isEqualsEnabled()
public boolean isHashEnabled()
public String[] getComparableMembers()
public boolean isToStringEnabled()
public boolean isInsertInheritDocOnMethodsEnabled()
public String getHeaderFileName()
public String getCustomJavaTemplateFileName()
public String getClazzJavaDoc()
public String[] getClazzAnnotations()
public List<KeyValuePair<String,String>> getMethodAnnotations()
public List<KeyValuePair<String,String>> getMethodAnnotations(Predicate<String> overloadNameFilter)
public List<KeyValuePair<String,String>> getMemberAnnotations()
public List<KeyValuePair<String,String>> getMemberAnnotations(Predicate<String> overloadNameFilter)
public boolean isWarningAboutSynthesisedNamesEnabled()
public Level getLogLevel()
public boolean isDebugStringTemplatesEnabled()
public String getComment()
public String getSourcePath()
public String getLogFile()
private <T extends Enum<T>> T getEnumValue(String optionKey, Class<T> enumType, T defaultValue)
private boolean getBooleanValue(String optionKey, boolean defaultValue)
private int getIntValue(String optionKey, int defaultValue)
private long getLongValue(String optionKey, long defaultValue)
private List<KeyValuePair<String,String>> pairsToMap(String[] keyValueStrings, Predicate<String> keyFilter)
Version 2.0.0 generated on 2014-11-22 at 09:45 - (C) 41concepts Aps. Refer to project homepage valjogen.41concepts.com for more information.