Class RatingSchemeRegistry


  • public class RatingSchemeRegistry
    extends java.lang.Object
    This class maintains a registry of all known rating schemes in the system.
    Since:
    3.4
    Author:
    Neil McErlean
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​RatingScheme> getRatingSchemes()
      This method returns an unmodifiable map of the registered rating schemes.
      void register​(java.lang.String name, RatingScheme ratingScheme)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RatingSchemeRegistry

        public RatingSchemeRegistry()
    • Method Detail

      • register

        public void register​(java.lang.String name,
                             RatingScheme ratingScheme)
      • getRatingSchemes

        public java.util.Map<java.lang.String,​RatingScheme> getRatingSchemes()
        This method returns an unmodifiable map of the registered rating schemes.
        Returns:
        Map