Class TemplateOptions


  • public class TemplateOptions
    extends java.lang.Object
    Template options for velocity directives in templates.
    • 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
    • Constructor Detail

      • TemplateOptions

        public TemplateOptions​(Type ktype)
      • TemplateOptions

        public TemplateOptions​(Type ktype,
                               Type vtype)
    • 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()