Interface PortMapper<P extends org.onosproject.net.Port>
-
- Type Parameters:
P- Port type to map generic Port to
- All Known Implementing Classes:
AbstractPortMapper,IdentityMapper,OchPortMapper,OduCltPortMapper,OmsPortMapper,OtuPortMapper
@Beta public interface PortMapper<P extends org.onosproject.net.Port>Abstraction of a class capable of translating generic-Port object as another domain-specific Port of typeP.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<P>as(org.onosproject.net.Port port)Returnsportmapped to<P>.booleanis(org.onosproject.net.Port port)Returns true if this port is capable of being projected as<P>.
-