Enum Class PluginEvent.Type

java.lang.Object
java.lang.Enum<PluginEvent.Type>
org.eclipse.keyple.core.service.PluginEvent.Type
All Implemented Interfaces:
Serializable, Comparable<PluginEvent.Type>, Constable
Enclosing interface:
PluginEvent

public static enum PluginEvent.Type extends Enum<PluginEvent.Type>
The two types of reader event
Since:
2.0.0
  • Enum Constant Details

    • READER_CONNECTED

      public static final PluginEvent.Type READER_CONNECTED
      A reader has been connected.
      Since:
      2.0.0
    • READER_DISCONNECTED

      public static final PluginEvent.Type READER_DISCONNECTED
      A reader has been disconnected.
      Since:
      2.0.0
    • UNAVAILABLE

      public static final PluginEvent.Type UNAVAILABLE
      This plugin has become unavailable.
      Since:
      2.0.0
  • Method Details

    • values

      public static PluginEvent.Type[] 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

      public static PluginEvent.Type valueOf(String name)
      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 name
      NullPointerException - if the argument is null