Package org.refcodes.mixin
Interface PortAccessor.PortBuilder<B extends PortAccessor.PortBuilder<B>>
-
- Type Parameters:
B
- The builder to return in order to be able to apply multiple build operations.
- Enclosing interface:
- PortAccessor
public static interface PortAccessor.PortBuilder<B extends PortAccessor.PortBuilder<B>>
Provides a builder method for a port property returning the builder for applying multiple build operations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description B
withPort(int aPort)
Sets the port for the port property.
-
-
-
Method Detail
-
withPort
B withPort(int aPort)
Sets the port for the port property.- Parameters:
aPort
- The port to be stored by the port property.- Returns:
- The builder for applying multiple build operations.
-
-