Interface CompositeChildPump


public interface CompositeChildPump
Interface that a Pump can implement to indicate that it can be a physical child pump of a CompositePump, which is a logical pump. Not all pumps that implement this interface are children of a CompositePump. Use isChild() or getParent() to check if the pump is actually part of a composite pump.
Since:
1.0
Version:
2025-01-12
  • Method Summary

    Modifier and Type
    Method
    Description
    Pump<?>
    Return the parent composite pump
    default boolean
    Return true if the pump is a child in a composite pump
  • Method Details

    • getParent

      Pump<?> getParent()
      Return the parent composite pump
    • isChild

      default boolean isChild()
      Return true if the pump is a child in a composite pump