Interface PeerSpecificParserConstraintProvider

All Superinterfaces:
PeerSpecificParserConstraint
All Known Implementing Classes:
PeerSpecificParserConstraintImpl

public interface PeerSpecificParserConstraintProvider extends PeerSpecificParserConstraint
Serve as an entry gate for providers of PeerSpecificParserConstraint services.
  • Method Details

    • 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).