Interface ConditionBasedCollectionScheme.Builder

    • Method Detail

      • expression

        ConditionBasedCollectionScheme.Builder expression​(String expression)

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

        Parameters:
        expression - The logical expression used to recognize what data to collect. For example, $variable.`Vehicle.OutsideAirTemperature` >= 105.0.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • minimumTriggerIntervalMs

        ConditionBasedCollectionScheme.Builder minimumTriggerIntervalMs​(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • triggerMode

        ConditionBasedCollectionScheme.Builder triggerMode​(String 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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TriggerMode, TriggerMode
      • triggerMode

        ConditionBasedCollectionScheme.Builder triggerMode​(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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TriggerMode, TriggerMode
      • conditionLanguageVersion

        ConditionBasedCollectionScheme.Builder conditionLanguageVersion​(Integer conditionLanguageVersion)

        Specifies the version of the conditional expression language.

        Parameters:
        conditionLanguageVersion - Specifies the version of the conditional expression language.
        Returns:
        Returns a reference to this object so that method calls can be chained together.