Enum Class ProbeObjectType

java.lang.Object
java.lang.Enum<ProbeObjectType>
com.jprofiler.api.controller.ProbeObjectType
All Implemented Interfaces:
Serializable, Comparable<ProbeObjectType>, Constable

public enum ProbeObjectType extends Enum<ProbeObjectType>
Represents the type of elements to be tracked in probe tracking.
See Also:
  • Enum Constant Details

    • CONTROL_OBJECT_FROM_ID

      public static final ProbeObjectType CONTROL_OBJECT_FROM_ID
      The descriptions parameter of the startProbeTracking method will contain IDs of control objects.
    • CONTROL_OBJECT_FROM_DESCRIPTION

      public static final ProbeObjectType CONTROL_OBJECT_FROM_DESCRIPTION
      The descriptions parameter of the startProbeTracking method will contain the names of control objects.
    • HOTSPOT

      public static final ProbeObjectType HOTSPOT
      The descriptions parameter of the startProbeTracking method will contain the names of hot spots.
  • Method Details

    • values

      public static ProbeObjectType[] 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 ProbeObjectType 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ProbeObjectType>