Class SubstituteString.RelativePropertyComponent

  • Enclosing class:
    SubstituteString

    public static final class SubstituteString.RelativePropertyComponent
    extends SubstituteString.Component
    A component where the value should be looked up in the profile containing the substitution field rather than globally
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String fieldName()  
      java.lang.String getValue​(java.util.Map<java.lang.String,​java.lang.String> context, com.yahoo.processing.request.Properties substitution)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • RelativePropertyComponent

        public RelativePropertyComponent​(java.lang.String fieldName)
    • Method Detail

      • getValue

        public java.lang.String getValue​(java.util.Map<java.lang.String,​java.lang.String> context,
                                         com.yahoo.processing.request.Properties substitution)
        Specified by:
        getValue in class SubstituteString.Component
      • fieldName

        public java.lang.String fieldName()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object