Package org.uberfire.backend.plugin
Enum PluginProcessor.PluginProcessorType
- java.lang.Object
-
- java.lang.Enum<PluginProcessor.PluginProcessorType>
-
- org.uberfire.backend.plugin.PluginProcessor.PluginProcessorType
-
- All Implemented Interfaces:
Serializable,Comparable<PluginProcessor.PluginProcessorType>
- Enclosing interface:
- PluginProcessor
public static enum PluginProcessor.PluginProcessorType extends Enum<PluginProcessor.PluginProcessorType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GWTHTML_TEMPLATEJSPERSPECTIVE_EDITOR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetExtension()booleanisRuntimePlugin()static PluginProcessor.PluginProcessorTypevalueOf(String name)Returns the enum constant of this type with the specified name.static PluginProcessor.PluginProcessorType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GWT
public static final PluginProcessor.PluginProcessorType GWT
-
PERSPECTIVE_EDITOR
public static final PluginProcessor.PluginProcessorType PERSPECTIVE_EDITOR
-
HTML_TEMPLATE
public static final PluginProcessor.PluginProcessorType HTML_TEMPLATE
-
JS
public static final PluginProcessor.PluginProcessorType JS
-
-
Method Detail
-
values
public static PluginProcessor.PluginProcessorType[] 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 (PluginProcessor.PluginProcessorType c : PluginProcessor.PluginProcessorType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PluginProcessor.PluginProcessorType 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
-
getExtension
public String getExtension()
-
isRuntimePlugin
public boolean isRuntimePlugin()
-
-