Enum FunctionDefinition.Kind
- java.lang.Object
-
- java.lang.Enum<FunctionDefinition.Kind>
-
- org.kie.workbench.common.dmn.api.definition.model.FunctionDefinition.Kind
-
- All Implemented Interfaces:
Serializable,Comparable<FunctionDefinition.Kind>
- Enclosing class:
- FunctionDefinition
@Portable public static enum FunctionDefinition.Kind extends Enum<FunctionDefinition.Kind>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringcode()static FunctionDefinition.KinddetermineFromString(String code)static FunctionDefinition.KindfromValue(String value)static FunctionDefinition.KindvalueOf(String name)Returns the enum constant of this type with the specified name.static FunctionDefinition.Kind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FEEL
public static final FunctionDefinition.Kind FEEL
-
JAVA
public static final FunctionDefinition.Kind JAVA
-
PMML
public static final FunctionDefinition.Kind PMML
-
-
Method Detail
-
values
public static FunctionDefinition.Kind[] 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 (FunctionDefinition.Kind c : FunctionDefinition.Kind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FunctionDefinition.Kind 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
-
code
public String code()
-
fromValue
public static FunctionDefinition.Kind fromValue(String value)
-
determineFromString
public static FunctionDefinition.Kind determineFromString(String code)
-
-