Package org.apache.flink.util
Enum FlinkUserCodeClassLoaders.ResolveOrder
- java.lang.Object
-
- java.lang.Enum<FlinkUserCodeClassLoaders.ResolveOrder>
-
- org.apache.flink.util.FlinkUserCodeClassLoaders.ResolveOrder
-
- All Implemented Interfaces:
Serializable
,Comparable<FlinkUserCodeClassLoaders.ResolveOrder>
- Enclosing class:
- FlinkUserCodeClassLoaders
public static enum FlinkUserCodeClassLoaders.ResolveOrder extends Enum<FlinkUserCodeClassLoaders.ResolveOrder>
Class resolution order for Flink URLClassLoader
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHILD_FIRST
PARENT_FIRST
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FlinkUserCodeClassLoaders.ResolveOrder
fromString(String resolveOrder)
static FlinkUserCodeClassLoaders.ResolveOrder
valueOf(String name)
Returns the enum constant of this type with the specified name.static FlinkUserCodeClassLoaders.ResolveOrder[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CHILD_FIRST
public static final FlinkUserCodeClassLoaders.ResolveOrder CHILD_FIRST
-
PARENT_FIRST
public static final FlinkUserCodeClassLoaders.ResolveOrder PARENT_FIRST
-
-
Method Detail
-
values
public static FlinkUserCodeClassLoaders.ResolveOrder[] 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 (FlinkUserCodeClassLoaders.ResolveOrder c : FlinkUserCodeClassLoaders.ResolveOrder.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FlinkUserCodeClassLoaders.ResolveOrder 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
-
fromString
public static FlinkUserCodeClassLoaders.ResolveOrder fromString(String resolveOrder)
-
-