Package com.carrotsearch.hppc.generator
Class TemplateOptions
- java.lang.Object
-
- com.carrotsearch.hppc.generator.TemplateOptions
-
public class TemplateOptions extends java.lang.ObjectTemplate options for velocity directives in templates.
-
-
Field Summary
Fields Modifier and Type Field Description private booleanignoreTypektypestatic java.lang.StringTEMPLATE_FILE_TOKENjava.nio.file.PathtemplateFileTypevtype
-
Constructor Summary
Constructors Constructor Description TemplateOptions(Type ktype)TemplateOptions(Type ktype, Type vtype)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetGeneratedAnnotation()TypegetKType()java.lang.StringgetTemplateFile()java.lang.StringgetTimeNow()TypegetVType()booleanhasKType()booleanhasVType()booleanisAllGeneric()booleanisAnyGeneric()booleanisAnyPrimitive()booleanisIgnored()booleanisKTypeGeneric()booleanisKTypePrimitive()booleanisVTypeGeneric()booleanisVTypePrimitive()voidsetIgnored(boolean ignore)
-
-
-
Field Detail
-
TEMPLATE_FILE_TOKEN
public static final java.lang.String TEMPLATE_FILE_TOKEN
- See Also:
- Constant Field Values
-
ignore
private boolean ignore
-
ktype
public Type ktype
-
vtype
public Type vtype
-
templateFile
public java.nio.file.Path templateFile
-
-
Method Detail
-
setIgnored
public void setIgnored(boolean ignore)
-
isIgnored
public boolean isIgnored()
-
isKTypePrimitive
public boolean isKTypePrimitive()
-
isVTypePrimitive
public boolean isVTypePrimitive()
-
isKTypeGeneric
public boolean isKTypeGeneric()
-
isVTypeGeneric
public boolean isVTypeGeneric()
-
isAllGeneric
public boolean isAllGeneric()
-
isAnyPrimitive
public boolean isAnyPrimitive()
-
isAnyGeneric
public boolean isAnyGeneric()
-
hasVType
public boolean hasVType()
-
hasKType
public boolean hasKType()
-
getKType
public Type getKType()
-
getVType
public Type getVType()
-
getTimeNow
public java.lang.String getTimeNow()
-
getTemplateFile
public java.lang.String getTemplateFile()
-
getGeneratedAnnotation
public java.lang.String getGeneratedAnnotation()
-
-