Enum GeneratedFile.Type
- java.lang.Object
-
- java.lang.Enum<GeneratedFile.Type>
-
- org.drools.model.codegen.execmodel.GeneratedFile.Type
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<GeneratedFile.Type>
- Enclosing class:
- GeneratedFile
public static enum GeneratedFile.Type extends java.lang.Enum<GeneratedFile.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APPLICATIONCLASSDECLARED_TYPEMESSAGE_CONSUMERMESSAGE_PRODUCERMODELPMMLPROCESSPROCESS_INSTANCEQUERYRESTRULE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GeneratedFile.TypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static GeneratedFile.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
APPLICATION
public static final GeneratedFile.Type APPLICATION
-
PROCESS
public static final GeneratedFile.Type PROCESS
-
PROCESS_INSTANCE
public static final GeneratedFile.Type PROCESS_INSTANCE
-
REST
public static final GeneratedFile.Type REST
-
RULE
public static final GeneratedFile.Type RULE
-
DECLARED_TYPE
public static final GeneratedFile.Type DECLARED_TYPE
-
QUERY
public static final GeneratedFile.Type QUERY
-
MODEL
public static final GeneratedFile.Type MODEL
-
CLASS
public static final GeneratedFile.Type CLASS
-
MESSAGE_CONSUMER
public static final GeneratedFile.Type MESSAGE_CONSUMER
-
MESSAGE_PRODUCER
public static final GeneratedFile.Type MESSAGE_PRODUCER
-
PMML
public static final GeneratedFile.Type PMML
-
-
Method Detail
-
values
public static GeneratedFile.Type[] 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 (GeneratedFile.Type c : GeneratedFile.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GeneratedFile.Type valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-