Class SystemPropertiesDefaultsContext

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String find​(Target cmd, 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.
      • Methods inherited from class java.lang.Object

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

      • SystemPropertiesDefaultsContext

        public SystemPropertiesDefaultsContext()
    • Method Detail

      • find

        public java.lang.String find​(Target cmd,
                                     java.lang.reflect.Method commandMethod,
                                     java.lang.String key)
        Description copied from interface: DefaultsContext
        Implementations of DefaultsContext need to implement this method to convert an expression inside ${...} type substitutions to String values which will replace the substitution expression.
        Specified by:
        find in interface DefaultsContext
        Parameters:
        cmd - 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.