com.google.sitebricks.compiler
Enum CompileErrors
java.lang.Object
java.lang.Enum<CompileErrors>
com.google.sitebricks.compiler.CompileErrors
- All Implemented Interfaces:
- Serializable, Comparable<CompileErrors>
public enum CompileErrors
- extends Enum<CompileErrors>
An enumeration of possible compile errors when checking a template.
- Author:
- Dhanji R. Prasanna (dhanji@gmail.com)
|
Method Summary |
static CompileErrors |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CompileErrors[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
MISSING_REPEAT_VAR
public static final CompileErrors MISSING_REPEAT_VAR
MISSING_REPEAT_ITEMS
public static final CompileErrors MISSING_REPEAT_ITEMS
REPEAT_OVER_ATOM
public static final CompileErrors REPEAT_OVER_ATOM
FORM_MISSING_NAME
public static final CompileErrors FORM_MISSING_NAME
UNRESOLVABLE_FORM_BINDING
public static final CompileErrors UNRESOLVABLE_FORM_BINDING
UNRESOLVABLE_FORM_ACTION
public static final CompileErrors UNRESOLVABLE_FORM_ACTION
MALFORMED_TEMPLATE
public static final CompileErrors MALFORMED_TEMPLATE
ILLEGAL_EXPRESSION
public static final CompileErrors ILLEGAL_EXPRESSION
PROPERTY_NOT_WRITEABLE
public static final CompileErrors PROPERTY_NOT_WRITEABLE
ERROR_COMPILING_PROPERTY
public static final CompileErrors ERROR_COMPILING_PROPERTY
values
public static CompileErrors[] 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 (CompileErrors c : CompileErrors.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static CompileErrors 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 name
NullPointerException - if the argument is null
Copyright © 2014. All rights reserved.