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 TypeMethodDescriptionstatic voidaddIface(com.tccc.kos.commons.core.service.trouble.Trouble trouble) Adds the iface to the specifiedTrouble.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 specifiedTrouble. Should be called in theTroubleconstructor.- Parameters:
trouble- theTroubleto add the iface to
-
getNozzlePath
String getNozzlePath()Returns the path of the associated nozzle.
-