Class TelemetryConstants


  • public final class TelemetryConstants
    extends Object
    Constants & utility methods used throughout the Telemetry API.
    • Field Detail

      • TELEMETRY_ENDPOINT

        public static final String TELEMETRY_ENDPOINT
        The name of the Telemetry API endpoint.
        See Also:
        Constant Field Values
      • TELEMETRY_ENDPOINT_SHORT

        public static final String TELEMETRY_ENDPOINT_SHORT
        The short name of the Telemetry API endpoint.
        See Also:
        Constant Field Values
    • Method Detail

      • isTelemetryEndpoint

        public static boolean isTelemetryEndpoint​(String ep)
        Checks if a given endpoint name is the Telemetry endpoint.
        Parameters:
        ep - The name to check.
        Returns:
        true if the name is either TELEMETRY_ENDPOINT or TELEMETRY_ENDPOINT_SHORT.