Interface DefaultsContext

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String find​(Target target, java.lang.reflect.Method commandMethod, java.lang.String key)
      Implementations of DefaultsContext need to implement this method to convert an expression inside ${...} type substitutions to String values which will replace the substitution expression.
    • Method Detail

      • find

        java.lang.String find​(Target target,
                              java.lang.reflect.Method commandMethod,
                              java.lang.String key)
        Implementations of DefaultsContext need to implement this method to convert an expression inside ${...} type substitutions to String values which will replace the substitution expression.
        Parameters:
        target - The command class
        commandMethod - the command method
        key - the ... in the ${...} expression
        Returns:
        the value to replace key with. Null is equivalent to the empty string.