Class DictionaryTarget

    • Field Detail

      • key

        protected final java.lang.String key
      • value

        protected final java.lang.String value
      • delimiter

        protected final char delimiter
    • Constructor Detail

      • DictionaryTarget

        DictionaryTarget​(TargetType type,
                         java.lang.String target)
      • DictionaryTarget

        DictionaryTarget​(TargetType type,
                         java.lang.String target,
                         char delimiter)
      • DictionaryTarget

        DictionaryTarget​(TargetType type,
                         java.lang.String key,
                         java.lang.String value)
      • DictionaryTarget

        DictionaryTarget​(TargetType type,
                         java.lang.String key,
                         java.lang.String value,
                         char delimiter)
    • Method Detail

      • getKey

        public java.lang.String getKey()
        Returns:
        the grain name of this matcher
      • getValue

        public java.lang.String getValue()
        Returns:
        the value to match the grain
      • getDelimiter

        public char getDelimiter()
        Returns:
        the delimiter used by this target
      • getProps

        public java.util.Map<java.lang.String,​java.lang.Object> getProps()
        Overrides:
        getProps in class AbstractTarget<java.lang.String>
        Returns:
        a map of items to include in the API call payload This will include the 'delimiter' key if not using the default delimiter.