Class RankingConstants


  • public class RankingConstants
    extends java.lang.Object
    Constant values for ranking/model execution tied to a search definition, or globally to an application package
    Author:
    bratseth
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(RankingConstant constant)  
      java.util.Map<java.lang.String,​RankingConstant> asMap()
      Returns a read-only map of the ranking constants in this indexed by name
      RankingConstant get​(java.lang.String name)
      Returns the ranking constant with the given name, or null if not present
      void sendTo​(java.util.Collection<? extends AbstractService> services)
      Initiate sending of these constants to some services over file distribution
      • Methods inherited from class java.lang.Object

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

      • RankingConstants

        public RankingConstants()
    • Method Detail

      • get

        public RankingConstant get​(java.lang.String name)
        Returns the ranking constant with the given name, or null if not present
      • asMap

        public java.util.Map<java.lang.String,​RankingConstant> asMap()
        Returns a read-only map of the ranking constants in this indexed by name
      • sendTo

        public void sendTo​(java.util.Collection<? extends AbstractService> services)
        Initiate sending of these constants to some services over file distribution