Enum GetProcessEngineConfiguration
- java.lang.Object
-
- java.lang.Enum<GetProcessEngineConfiguration>
-
- org.camunda.community.mockito.function.GetProcessEngineConfiguration
-
- All Implemented Interfaces:
Serializable,Comparable<GetProcessEngineConfiguration>,Function<org.camunda.bpm.engine.ProcessEngine,org.camunda.bpm.engine.ProcessEngineConfiguration>
public enum GetProcessEngineConfiguration extends Enum<GetProcessEngineConfiguration> implements Function<org.camunda.bpm.engine.ProcessEngine,org.camunda.bpm.engine.ProcessEngineConfiguration>
Hides the nasty "getConfiguration from given Engine Hack" in an easy to use function.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.camunda.bpm.engine.ProcessEngineConfigurationapply(org.camunda.bpm.engine.ProcessEngine processEngine)static GetProcessEngineConfigurationvalueOf(String name)Returns the enum constant of this type with the specified name.static GetProcessEngineConfiguration[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTANCE
public static final GetProcessEngineConfiguration INSTANCE
-
-
Method Detail
-
values
public static GetProcessEngineConfiguration[] 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 (GetProcessEngineConfiguration c : GetProcessEngineConfiguration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GetProcessEngineConfiguration 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
-
-