Interface ContextVariables

  • All Known Subinterfaces:
    WritableContextVariables

    public interface ContextVariables
    Context Variables is a data structure that holds temporary data while a task is being performed. It is accessed by functions in the pipeline.
    • Method Detail

      • asMap

        Map<String,​String> asMap()
        Get variables as a map
        Returns:
        Map of variables
      • writableClone

        WritableContextVariables writableClone()
        Get a clone of the variables that can be modified
        Returns:
        Writable clone of the variables
      • getInput

        @Nullable
        String getInput()
        Get the input (entry in the MAIN_KEY slot)
        Returns:
        input
      • prettyPrint

        String prettyPrint()
        Create formatted string of the variables
        Returns:
        formatted string
      • get

        @Nullable
        String get​(String key)
        Return the variable with the given name
        Parameters:
        key - variable name
        Returns:
        content of the variable