Package org.kie.server.services.jbpm.ui
Enum FormServiceBase.FormType
- java.lang.Object
-
- java.lang.Enum<FormServiceBase.FormType>
-
- org.kie.server.services.jbpm.ui.FormServiceBase.FormType
-
- All Implemented Interfaces:
Serializable,Comparable<FormServiceBase.FormType>
- Enclosing class:
- FormServiceBase
public static enum FormServiceBase.FormType extends Enum<FormServiceBase.FormType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANYFORM_MODELLER_TYPEFORM_TYPEFREE_MARKER_TYPE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FormServiceBase.FormTypefromName(String name)StringgetContentType()StringgetName()static FormServiceBase.FormTypevalueOf(String name)Returns the enum constant of this type with the specified name.static FormServiceBase.FormType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FORM_MODELLER_TYPE
public static final FormServiceBase.FormType FORM_MODELLER_TYPE
-
FORM_TYPE
public static final FormServiceBase.FormType FORM_TYPE
-
FREE_MARKER_TYPE
public static final FormServiceBase.FormType FREE_MARKER_TYPE
-
ANY
public static final FormServiceBase.FormType ANY
-
-
Method Detail
-
values
public static FormServiceBase.FormType[] 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 (FormServiceBase.FormType c : FormServiceBase.FormType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FormServiceBase.FormType 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
-
getName
public String getName()
-
getContentType
public String getContentType()
-
fromName
public static FormServiceBase.FormType fromName(String name)
-
-