Interface PortAccessor.PortProperty

All Superinterfaces:
PortAccessor, PortAccessor.PortMutator
Enclosing interface:
PortAccessor

public static interface PortAccessor.PortProperty extends PortAccessor, PortAccessor.PortMutator
Provides a port property.
  • Method Details

    • letPort

      default int letPort(int aPort)
      This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given integer (setter) as of PortAccessor.PortMutator.setPort(int) and returns the very same value (getter).
      Parameters:
      aPort - The integer to set (via PortAccessor.PortMutator.setPort(int)).
      Returns:
      Returns the value passed for it to be used in conclusive processing steps.