Interface PeerSpecificParserConstraintProvider
- All Superinterfaces:
PeerSpecificParserConstraint
- All Known Implementing Classes:
PeerSpecificParserConstraintImpl
Serve as an entry gate for providers of
PeerSpecificParserConstraint
services.-
Method Summary
Modifier and TypeMethodDescription<T extends PeerConstraint>
booleanaddPeerConstraint
(@NonNull Class<T> classType, @NonNull T peerConstraint) Register newPeerConstraint
service.Methods inherited from interface org.opendaylight.protocol.bgp.parser.spi.PeerSpecificParserConstraint
getPeerConstraint
-
Method Details
-
addPeerConstraint
<T extends PeerConstraint> boolean addPeerConstraint(@NonNull Class<T> classType, @NonNull T peerConstraint) Register newPeerConstraint
service.- Parameters:
classType
- Class type of the service to be added.peerConstraint
- Peer constraint service to be added.- Returns:
- True if service was added, false if not (such service is already registered).
-