Enum EventType

java.lang.Object
java.lang.Enum<EventType>
io.kubernetes.client.informer.EventType
All Implemented Interfaces:
Serializable, Comparable<EventType>, java.lang.constant.Constable

public enum EventType extends Enum<EventType>
  • Enum Constant Details

    • ADDED

      public static final EventType ADDED
    • MODIFIED

      public static final EventType MODIFIED
    • DELETED

      public static final EventType DELETED
    • BOOKMARK

      public static final EventType BOOKMARK
    • ERROR

      public static final EventType ERROR
  • Method Details

    • values

      public static EventType[] 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

      public static EventType 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 name
      NullPointerException - if the argument is null
    • getByType

      @Deprecated public static EventType getByType(String type)
      Deprecated.
      will be removed in a future release. use : findByType
      returns the corresponding EventType by type.
      Parameters:
      type - specific code
      Returns:
      corresponding EventType
    • findByType

      public static Optional<EventType> findByType(String type)
      returns the corresponding EventType by type, wrapped in an Optional
      Parameters:
      type - specific code
      Returns:
      an Optional describing the EventType