Enum Class DeviceContextTargetApi

java.lang.Object
java.lang.Enum<DeviceContextTargetApi>
com.cumulocity.sdk.client.notification2.DeviceContextTargetApi
All Implemented Interfaces:
Serializable, Comparable<DeviceContextTargetApi>, Constable

public enum DeviceContextTargetApi extends Enum<DeviceContextTargetApi>
Target APIs that subscribers can subscribe to in device context (per device)
  • Enum Constant Details

    • EVENTS

      public static final DeviceContextTargetApi EVENTS
      Events created on the device
    • EVENTS_WITH_CHILDREN

      public static final DeviceContextTargetApi EVENTS_WITH_CHILDREN
      Events created on the device and its child devices
    • ALARMS

      public static final DeviceContextTargetApi ALARMS
      Alarms created on the device
    • ALARMS_WITH_CHILDREN

      public static final DeviceContextTargetApi ALARMS_WITH_CHILDREN
      Alarms created on the device and its child devices
    • MEASUREMENTS

      public static final DeviceContextTargetApi MEASUREMENTS
      Measurements created on the device
    • MANAGED_OBJECTS

      public static final DeviceContextTargetApi MANAGED_OBJECTS
      Managed object modifications
    • OPERATIONS

      public static final DeviceContextTargetApi OPERATIONS
      Operations created on the device
    • ALL

      public static final DeviceContextTargetApi ALL
      All APIs supported in device context, can't be combined with other targets
  • Method Details

    • values

      public static DeviceContextTargetApi[] 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 DeviceContextTargetApi 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