Class Adas.State.Builder

Enclosing class:
Adas.State

public static final class Adas.State.Builder extends SetCommand.Builder<Adas.State.Builder>
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      public Adas.State build()
      Overrides:
      build in class SetCommand.Builder<Adas.State.Builder>
    • setStatus

      public Adas.State.Builder setStatus(Property<OnOffState> status)
      Parameters:
      status - Indicates whether the driver assistance system is active or not.
      Returns:
      The builder
    • setAlertnessSystemStatus

      public Adas.State.Builder setAlertnessSystemStatus(Property<ActiveState> alertnessSystemStatus)
      Parameters:
      alertnessSystemStatus - Indicates if the driver alertness warning is active or inactive.
      Returns:
      The builder
    • setForwardCollisionWarningSystem

      public Adas.State.Builder setForwardCollisionWarningSystem(Property<ActiveState> forwardCollisionWarningSystem)
      Parameters:
      forwardCollisionWarningSystem - Indicates whether the forward collision warning system is active or inactive.
      Returns:
      The builder
    • setBlindSpotWarningState

      public Adas.State.Builder setBlindSpotWarningState(Property<ActiveState> blindSpotWarningState)
      Parameters:
      blindSpotWarningState - Indicates whether the blind spot warning system is active or not.
      Returns:
      The builder
    • setBlindSpotWarningSystemCoverage

      public Adas.State.Builder setBlindSpotWarningSystemCoverage(Property<Adas.BlindSpotWarningSystemCoverage> blindSpotWarningSystemCoverage)
      Parameters:
      blindSpotWarningSystemCoverage - Blind spot warning system coverage.
      Returns:
      The builder
    • setRearCrossWarningSystem

      public Adas.State.Builder setRearCrossWarningSystem(Property<ActiveState> rearCrossWarningSystem)
      Parameters:
      rearCrossWarningSystem - Indicates whether the rear cross warning system is active or not.
      Returns:
      The builder
    • setAutomatedParkingBrake

      public Adas.State.Builder setAutomatedParkingBrake(Property<ActiveState> automatedParkingBrake)
      Parameters:
      automatedParkingBrake - Automatic brake state
      Returns:
      The builder
    • setLaneKeepAssistSystem

      public Adas.State.Builder setLaneKeepAssistSystem(Property<OnOffState> laneKeepAssistSystem)
      Parameters:
      laneKeepAssistSystem - Indicates if the lane keep assist system is turned on or not.
      Returns:
      The builder
    • setLaneKeepAssistsStates

      public Adas.State.Builder setLaneKeepAssistsStates(Property<LaneKeepAssistState>[] laneKeepAssistsStates)
      Add an array of lane keep assists states
      Parameters:
      laneKeepAssistsStates - The lane keep assists states. Lane keeping assist state indicating the vehicle is actively controlling the wheels.
      Returns:
      The builder
    • addLaneKeepAssistsState

      public Adas.State.Builder addLaneKeepAssistsState(Property<LaneKeepAssistState> laneKeepAssistsState)
      Add a single lane keep assists state
      Parameters:
      laneKeepAssistsState - The lane keep assists state. Lane keeping assist state indicating the vehicle is actively controlling the wheels.
      Returns:
      The builder
    • setParkAssists

      public Adas.State.Builder setParkAssists(Property<ParkAssist>[] parkAssists)
      Add an array of park assists
      Parameters:
      parkAssists - The park assists. If the alarm is active and the driver has muted or not park assists.
      Returns:
      The builder
    • addParkAssist

      public Adas.State.Builder addParkAssist(Property<ParkAssist> parkAssist)
      Add a single park assist
      Parameters:
      parkAssist - The park assist. If the alarm is active and the driver has muted or not park assists.
      Returns:
      The builder
    • setBlindSpotWarningSystem

      public Adas.State.Builder setBlindSpotWarningSystem(Property<OnOffState> blindSpotWarningSystem)
      Parameters:
      blindSpotWarningSystem - Indicates whether the blind spot warning system is turned on or not.
      Returns:
      The builder
    • setLaunchControl

      public Adas.State.Builder setLaunchControl(Property<ActiveState> launchControl)
      Parameters:
      launchControl - State of launch control activation.
      Returns:
      The builder