Enum ScenarioSimulationI18nServerMessage
- java.lang.Object
-
- java.lang.Enum<ScenarioSimulationI18nServerMessage>
-
- org.drools.workbench.screens.scenariosimulation.utils.ScenarioSimulationI18nServerMessage
-
- All Implemented Interfaces:
Serializable,Comparable<ScenarioSimulationI18nServerMessage>
public enum ScenarioSimulationI18nServerMessage extends Enum<ScenarioSimulationI18nServerMessage>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SCENARIO_VALIDATION_FIELD_ADDED_CONSTRAINT_ERRORSCENARIO_VALIDATION_FIELD_CHANGED_ERRORSCENARIO_VALIDATION_FIELD_REMOVED_CONSTRAINT_ERRORSCENARIO_VALIDATION_NODE_CHANGED_ERROR
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ScenarioSimulationI18nServerMessagevalueOf(String name)Returns the enum constant of this type with the specified name.static ScenarioSimulationI18nServerMessage[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SCENARIO_VALIDATION_NODE_CHANGED_ERROR
public static final ScenarioSimulationI18nServerMessage SCENARIO_VALIDATION_NODE_CHANGED_ERROR
-
SCENARIO_VALIDATION_FIELD_CHANGED_ERROR
public static final ScenarioSimulationI18nServerMessage SCENARIO_VALIDATION_FIELD_CHANGED_ERROR
-
SCENARIO_VALIDATION_FIELD_ADDED_CONSTRAINT_ERROR
public static final ScenarioSimulationI18nServerMessage SCENARIO_VALIDATION_FIELD_ADDED_CONSTRAINT_ERROR
-
SCENARIO_VALIDATION_FIELD_REMOVED_CONSTRAINT_ERROR
public static final ScenarioSimulationI18nServerMessage SCENARIO_VALIDATION_FIELD_REMOVED_CONSTRAINT_ERROR
-
-
Method Detail
-
values
public static ScenarioSimulationI18nServerMessage[] 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 (ScenarioSimulationI18nServerMessage c : ScenarioSimulationI18nServerMessage.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ScenarioSimulationI18nServerMessage 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
-
-