Package com.hubspot.jinjava.interpret
Enum TemplateError.ErrorItem
- java.lang.Object
-
- java.lang.Enum<TemplateError.ErrorItem>
-
- com.hubspot.jinjava.interpret.TemplateError.ErrorItem
-
- All Implemented Interfaces:
Serializable
,Comparable<TemplateError.ErrorItem>
- Enclosing class:
- TemplateError
public static enum TemplateError.ErrorItem extends Enum<TemplateError.ErrorItem>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TemplateError.ErrorItem
valueOf(String name)
Returns the enum constant of this type with the specified name.static TemplateError.ErrorItem[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TEMPLATE
public static final TemplateError.ErrorItem TEMPLATE
-
TOKEN
public static final TemplateError.ErrorItem TOKEN
-
TAG
public static final TemplateError.ErrorItem TAG
-
FUNCTION
public static final TemplateError.ErrorItem FUNCTION
-
PROPERTY
public static final TemplateError.ErrorItem PROPERTY
-
FILTER
public static final TemplateError.ErrorItem FILTER
-
EXPRESSION_TEST
public static final TemplateError.ErrorItem EXPRESSION_TEST
-
OTHER
public static final TemplateError.ErrorItem OTHER
-
-
Method Detail
-
values
public static TemplateError.ErrorItem[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TemplateError.ErrorItem c : TemplateError.ErrorItem.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TemplateError.ErrorItem valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-