Interface PeerSpecificParserConstraintProvider
-
- All Superinterfaces:
PeerSpecificParserConstraint
- All Known Implementing Classes:
PeerSpecificParserConstraintImpl
public interface PeerSpecificParserConstraintProvider extends PeerSpecificParserConstraint
Serve as an entry gate for providers ofPeerSpecificParserConstraint
services.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <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 Detail
-
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).
-
-