Enum Class Connectable

java.lang.Object
java.lang.Enum<Connectable>
org.openjdk.jmc.common.jvm.Connectable
All Implemented Interfaces:
Serializable, Comparable<Connectable>, Constable

public enum Connectable extends Enum<Connectable>
Enum describing different JVM connectability possibilities.
  • Enum Constant Details

    • ATTACHABLE

      public static final Connectable ATTACHABLE
      The JVM can be connected to using attach.
    • MGMNT_AGENT_STARTED

      public static final Connectable MGMNT_AGENT_STARTED
      The JVM can be connected to using the management agent.
    • NO

      public static final Connectable NO
      The JVM can't be connected to.
    • UNKNOWN

      public static final Connectable UNKNOWN
  • Method Details

    • values

      public static Connectable[] 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 Connectable 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
    • isUnconnectable

      public boolean isUnconnectable()
    • isAttachable

      public boolean isAttachable()