Package com.carrotsearch.hppc.generator
Class TemplateOptions
- java.lang.Object
-
- com.carrotsearch.hppc.generator.TemplateOptions
-
public class TemplateOptions extends java.lang.Object
Template options for velocity directives in templates.
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
ignore
Type
ktype
static java.lang.String
TEMPLATE_FILE_TOKEN
java.nio.file.Path
templateFile
Type
vtype
-
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.String
getGeneratedAnnotation()
Type
getKType()
java.lang.String
getTemplateFile()
java.lang.String
getTimeNow()
Type
getVType()
boolean
hasKType()
boolean
hasVType()
boolean
isAllGeneric()
boolean
isAnyGeneric()
boolean
isAnyPrimitive()
boolean
isIgnored()
boolean
isKTypeGeneric()
boolean
isKTypePrimitive()
boolean
isVTypeGeneric()
boolean
isVTypePrimitive()
void
setIgnored(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()
-
-