Class RegistrationConstants


  • public final class RegistrationConstants
    extends RequestResponseApiConstants
    Constants & utility methods used throughout the Registration API.
    • Field Detail

      • ACTION_ASSERT

        public static final String ACTION_ASSERT
        The AMQP 1.0 subject to use for the assert device registration operation.
        See Also:
        Constant Field Values
      • ACTION_REGISTER

        public static final String ACTION_REGISTER
        The AMQP 1.0 subject to use for the register device operation.
        See Also:
        Constant Field Values
      • ACTION_GET

        public static final String ACTION_GET
        The AMQP 1.0 subject to use for the get registration information operation.
        See Also:
        Constant Field Values
      • ACTION_DEREGISTER

        public static final String ACTION_DEREGISTER
        The AMQP 1.0 subject to use for the deregister device operation.
        See Also:
        Constant Field Values
      • ACTION_UPDATE

        public static final String ACTION_UPDATE
        The AMQP 1.0 subject to use for the update device registration operation.
        See Also:
        Constant Field Values
      • FIELD_DATA

        public static final String FIELD_DATA
        The name of the field in a response to the get registration information operation that contains a device's registration information.
        See Also:
        Constant Field Values
      • FIELD_VIA

        public static final String FIELD_VIA
        The name of the field in a device's registration information that contains the identifier of the gateway that it is connected to (either as string value or inside a JSON array).
        See Also:
        Constant Field Values
      • REGISTRATION_ENDPOINT

        public static final String REGISTRATION_ENDPOINT
        The name of the Device Registration API endpoint.
        See Also:
        Constant Field Values
      • EVENT_BUS_ADDRESS_REGISTRATION_IN

        public static final String EVENT_BUS_ADDRESS_REGISTRATION_IN
        The vert.x event bus address to which inbound registration messages are published.
        See Also:
        Constant Field Values
    • Method Detail

      • isValidAction

        public static boolean isValidAction​(String action)
        Checks if a given string represents a valid action.
        Parameters:
        action - The string to check.
        Returns:
        true if the given string is a supported action.