Interface NozzleTroubleIface
- All Superinterfaces:
TroubleIface
- All Known Subinterfaces:
PumpTroubleIface
- All Known Implementing Classes:
PumpTrouble
Interface for
Trouble
s 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 void
Adds the iface to the specifiedTrouble
.Returns the path of the associated nozzle.
-
Method Details
-
addIface
Adds the iface to the specifiedTrouble
. Should be called in theTrouble
constructor.- Parameters:
trouble
- theTrouble
to add the iface to
-
getNozzlePath
String getNozzlePath()Returns the path of the associated nozzle.
-