public static enum PluginResolver.Mode extends Enum<PluginResolver.Mode>
| Enum Constant and Description |
|---|
ALLOW_UNDEFINED
Allows unknown functions and print directives
|
ALLOW_UNDEFINED_FUNCTIONS_FOR_V1_SUPPORT
This is a special case for deprecatedv1 where we allow the function to not exist and just
plop it into the js gencode.
|
REQUIRE_DEFINITIONS
This is the normal thing, it is an error for the plugin to not exist.
|
| Modifier and Type | Method and Description |
|---|---|
static PluginResolver.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PluginResolver.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PluginResolver.Mode ALLOW_UNDEFINED
This option is only available for the parseinfo generator and message extractor which historically has not had proper build dependencies and thus often references unknown plugins.
public static final PluginResolver.Mode REQUIRE_DEFINITIONS
public static final PluginResolver.Mode ALLOW_UNDEFINED_FUNCTIONS_FOR_V1_SUPPORT
public static PluginResolver.Mode[] values()
for (PluginResolver.Mode c : PluginResolver.Mode.values()) System.out.println(c);
public static PluginResolver.Mode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null