Enum AutoscalerEventHandlerFactory.EventHandlerType
- java.lang.Object
-
- java.lang.Enum<AutoscalerEventHandlerFactory.EventHandlerType>
-
- org.apache.flink.autoscaler.standalone.AutoscalerEventHandlerFactory.EventHandlerType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AutoscalerEventHandlerFactory.EventHandlerType>
,org.apache.flink.configuration.DescribedEnum
- Enclosing class:
- AutoscalerEventHandlerFactory
public static enum AutoscalerEventHandlerFactory.EventHandlerType extends java.lang.Enum<AutoscalerEventHandlerFactory.EventHandlerType> implements org.apache.flink.configuration.DescribedEnum
Out-of-box event handler type.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.flink.configuration.description.InlineElement
getDescription()
static AutoscalerEventHandlerFactory.EventHandlerType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AutoscalerEventHandlerFactory.EventHandlerType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOGGING
public static final AutoscalerEventHandlerFactory.EventHandlerType LOGGING
-
JDBC
public static final AutoscalerEventHandlerFactory.EventHandlerType JDBC
-
-
Method Detail
-
values
public static AutoscalerEventHandlerFactory.EventHandlerType[] 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 (AutoscalerEventHandlerFactory.EventHandlerType c : AutoscalerEventHandlerFactory.EventHandlerType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AutoscalerEventHandlerFactory.EventHandlerType 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
-
getDescription
public org.apache.flink.configuration.description.InlineElement getDescription()
- Specified by:
getDescription
in interfaceorg.apache.flink.configuration.DescribedEnum
-
-