Interface NozzleTroubleIface

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

public interface NozzleTroubleIface extends com.tccc.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.0
Version:
2023-02-06
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    addIface(com.tccc.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.tccc.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
    • getNozzlePath

      String getNozzlePath()
      Returns the path of the associated nozzle.