Package org.testcontainers.oceanbase
Enum Class OceanBaseCEContainer.Mode
- All Implemented Interfaces:
Serializable,Comparable<OceanBaseCEContainer.Mode>,Constable
- Enclosing class:
- OceanBaseCEContainer
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUse the minimum hardware resources for deployment by default, and all environment variables are available.Use as much hardware resources as possible for deployment by default, and all environment variables are available.Use minimal hardware resources and pre-built deployment files for quick startup, and password of user tenant is the only available environment variable. -
Method Summary
Modifier and TypeMethodDescriptionstatic OceanBaseCEContainer.ModeReturns the enum constant of this class with the specified name.static OceanBaseCEContainer.Mode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NORMAL
Use as much hardware resources as possible for deployment by default, and all environment variables are available. -
MINI
Use the minimum hardware resources for deployment by default, and all environment variables are available. -
SLIM
Use minimal hardware resources and pre-built deployment files for quick startup, and password of user tenant is the only available environment variable.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-