Interface NozzleTroubleIface

All Superinterfaces:
com.kosdev.kos.commons.core.service.trouble.TroubleIface
All Known Subinterfaces:
PumpTroubleIface
All Known Implementing Classes:
PumpTrouble

public interface NozzleTroubleIface extends com.kosdev.kos.commons.core.service.trouble.TroubleIface
Interface for Troubles that implements the nozzle iface. This is a standard way to describe to external systems that the Trouble includes nozzle information in a standard format.

Implementations must call NozzleTroubleIface.addIface(trouble) to ensure that external systems know the trouble implements this interface.

This indicates the nozzle interface is implemented and the following data is available:

  • nozzlePath : Path to the associated nozzle
Since:
1
Version:
1
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    addIface(com.kosdev.kos.commons.core.service.trouble.Trouble trouble)
    Adds the iface to the specified Trouble .
    Returns the path of the associated nozzle.
  • Method Details

    • addIface

      static void addIface(com.kosdev.kos.commons.core.service.trouble.Trouble trouble)
      Adds the iface to the specified Trouble . Should be called in the Trouble constructor.
      Parameters:
      trouble - the Trouble to add the iface to
      Since:
      1
    • getNozzlePath

      String getNozzlePath()
      Returns the path of the associated nozzle.
      Since:
      1