Interface PeerSpecificParserConstraintProvider

    • Method Detail

      • addPeerConstraint

        <T extends PeerConstraint> boolean addPeerConstraint​(@NonNull Class<T> classType,
                                                             @NonNull T peerConstraint)
        Register new PeerConstraint 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).