Interface CompositePump


public interface CompositePump
Interface that a Pump can implement to indicate that it is a logical pump that is backed by multiple physical pumps. This is typically only used with special hardware makes a collection of pumps look like a pump. The purpose of this interface is to allow the child pumps to be modeled (if supported by hardware) so that ingredient operations can be performed on the individual physical pumps if needed.

This interface is used by IngredientNozzlePipeline to allow intents to be delegated to the physical child pumps.

Since:
1.0
Version:
2025-01-12
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the physical child pumps.
    default boolean
    Return a property that indicates that this is a composite pump when serialized to json.
  • Method Details

    • getPumps

      List<Pump<?>> getPumps()
      Return the physical child pumps.
    • isComposite

      default boolean isComposite()
      Return a property that indicates that this is a composite pump when serialized to json.