Interface DetectorStateDefinition.Builder

    • Method Detail

      • stateName

        DetectorStateDefinition.Builder stateName​(String stateName)

        The name of the new state of the detector (instance).

        Parameters:
        stateName - The name of the new state of the detector (instance).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • variables

        DetectorStateDefinition.Builder variables​(Collection<VariableDefinition> variables)

        The new values of the detector's variables. Any variable whose value isn't specified is cleared.

        Parameters:
        variables - The new values of the detector's variables. Any variable whose value isn't specified is cleared.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • variables

        DetectorStateDefinition.Builder variables​(VariableDefinition... variables)

        The new values of the detector's variables. Any variable whose value isn't specified is cleared.

        Parameters:
        variables - The new values of the detector's variables. Any variable whose value isn't specified is cleared.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • timers

        DetectorStateDefinition.Builder timers​(Collection<TimerDefinition> timers)

        The new values of the detector's timers. Any timer whose value isn't specified is cleared, and its timeout event won't occur.

        Parameters:
        timers - The new values of the detector's timers. Any timer whose value isn't specified is cleared, and its timeout event won't occur.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • timers

        DetectorStateDefinition.Builder timers​(TimerDefinition... timers)

        The new values of the detector's timers. Any timer whose value isn't specified is cleared, and its timeout event won't occur.

        Parameters:
        timers - The new values of the detector's timers. Any timer whose value isn't specified is cleared, and its timeout event won't occur.
        Returns:
        Returns a reference to this object so that method calls can be chained together.