Class CxConsumptionLayerCurrentAffinityStrategy

  • All Implemented Interfaces:
    CxConsumptionLayerAffinityStrategy

    @Deprecated(since="2011",
                forRemoval=true)
    public class CxConsumptionLayerCurrentAffinityStrategy
    extends java.lang.Object
    implements CxConsumptionLayerAffinityStrategy
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 2011, Profile structure has changed and code is no longer valid. Mappers which have used that strategy are deprecated
    Returns recent score as current affinity.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.math.BigDecimal extract​(Affinity affinity)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Extracts value of affinity from provided structure.
      • Methods inherited from class java.lang.Object

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

      • CxConsumptionLayerCurrentAffinityStrategy

        public CxConsumptionLayerCurrentAffinityStrategy()
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • extract

        public java.math.BigDecimal extract​(Affinity affinity)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: CxConsumptionLayerAffinityStrategy
        Extracts value of affinity from provided structure.
        Specified by:
        extract in interface CxConsumptionLayerAffinityStrategy
        Parameters:
        affinity - structure from which affinity is extracted
        Returns:
        single affinity value