Class ConditionBasedCollectionScheme

    • Method Detail

      • expression

        public final String expression()

        The logical expression used to recognize what data to collect. For example, $variable.`Vehicle.OutsideAirTemperature` >= 105.0.

        Returns:
        The logical expression used to recognize what data to collect. For example, $variable.`Vehicle.OutsideAirTemperature` >= 105.0.
      • minimumTriggerIntervalMs

        public final Long minimumTriggerIntervalMs()

        The minimum duration of time between two triggering events to collect data, in milliseconds.

        If a signal changes often, you might want to collect data at a slower rate.

        Returns:
        The minimum duration of time between two triggering events to collect data, in milliseconds.

        If a signal changes often, you might want to collect data at a slower rate.

      • triggerMode

        public final TriggerMode triggerMode()

        Whether to collect data for all triggering events (ALWAYS). Specify (RISING_EDGE), or specify only when the condition first evaluates to false. For example, triggering on "AirbagDeployed"; Users aren't interested on triggering when the airbag is already exploded; they only care about the change from not deployed => deployed.

        If the service returns an enum value that is not available in the current SDK version, triggerMode will return TriggerMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from triggerModeAsString().

        Returns:
        Whether to collect data for all triggering events (ALWAYS). Specify ( RISING_EDGE), or specify only when the condition first evaluates to false. For example, triggering on "AirbagDeployed"; Users aren't interested on triggering when the airbag is already exploded; they only care about the change from not deployed => deployed.
        See Also:
        TriggerMode
      • triggerModeAsString

        public final String triggerModeAsString()

        Whether to collect data for all triggering events (ALWAYS). Specify (RISING_EDGE), or specify only when the condition first evaluates to false. For example, triggering on "AirbagDeployed"; Users aren't interested on triggering when the airbag is already exploded; they only care about the change from not deployed => deployed.

        If the service returns an enum value that is not available in the current SDK version, triggerMode will return TriggerMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from triggerModeAsString().

        Returns:
        Whether to collect data for all triggering events (ALWAYS). Specify ( RISING_EDGE), or specify only when the condition first evaluates to false. For example, triggering on "AirbagDeployed"; Users aren't interested on triggering when the airbag is already exploded; they only care about the change from not deployed => deployed.
        See Also:
        TriggerMode
      • conditionLanguageVersion

        public final Integer conditionLanguageVersion()

        Specifies the version of the conditional expression language.

        Returns:
        Specifies the version of the conditional expression language.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)