Package cn.sliew.flinkful.common.enums
Enum ResourceProvider
- java.lang.Object
-
- java.lang.Enum<ResourceProvider>
-
- cn.sliew.flinkful.common.enums.ResourceProvider
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ResourceProvider>
public enum ResourceProvider extends java.lang.Enum<ResourceProvider>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NATIVE_KUBERNETESSTANDALONEYARN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResourceProvidervalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ResourceProvider[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STANDALONE
public static final ResourceProvider STANDALONE
-
NATIVE_KUBERNETES
public static final ResourceProvider NATIVE_KUBERNETES
-
YARN
public static final ResourceProvider YARN
-
-
Method Detail
-
values
public static ResourceProvider[] 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 (ResourceProvider c : ResourceProvider.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResourceProvider 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
-
-