Package io.camunda.zeebe.shared
Enum Profile
- All Implemented Interfaces:
Serializable,Comparable<Profile>,java.lang.constant.Constable
A fixed set of Spring profiles. Some are application specific (broker, gateway), and others
environment specific (dev, test ,prod). Here to avoid littering the code base with different hard
coded strings, leading to potential errors.
You can activate application & environment profiles together, but should avoid activating two of the same category.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
-
Enum Constant Details
-
BROKER
-
GATEWAY
-
TEST
-
DEVELOPMENT
-
PRODUCTION
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getId
-
toString
-