Class ParameterProcessorComponent

    • Constructor Detail

      • ParameterProcessorComponent

        public ParameterProcessorComponent()
    • Method Detail

      • register

        public void register​(ParameterProcessor processor)
        Register parameter processor
        Parameters:
        processor -
      • process

        public String process​(String value,
                              NodeRef nodeRef)
        Process the value for substitution within the context of the provided node.
        Parameters:
        value - value
        nodeRef - node reference
        Returns:
        String resulting value
      • getSubstitutionSuggestions

        public List<String> getSubstitutionSuggestions​(String substitutionFragment)
        Return a list of substitution suggestions for the passed string fragment.
        Specified by:
        getSubstitutionSuggestions in interface ParameterSubstitutionSuggester
        Parameters:
        substitutionFragment - Text fragment to search on.
        Returns:
        A list of substitutions that match the substitution fragment.