Package org.eclipse.hono.util
Class TelemetryConstants
- java.lang.Object
-
- org.eclipse.hono.util.TelemetryConstants
-
public final class TelemetryConstants extends Object
Constants & utility methods used throughout the Telemetry API.
-
-
Field Summary
Fields Modifier and Type Field Description static String
TELEMETRY_ENDPOINT
The name of the Telemetry API endpoint.static String
TELEMETRY_ENDPOINT_SHORT
The short name of the Telemetry API endpoint.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isTelemetryEndpoint(String ep)
Checks if a given endpoint name is the Telemetry endpoint.
-
-
-
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 eitherTELEMETRY_ENDPOINT
orTELEMETRY_ENDPOINT_SHORT
.
-
-