Class AbstractSKContext

    • Method Detail

      • getResult

        @Nullable
        public String getResult()
        Description copied from interface: SKContext
        Obtain the result of the execution that produced this context. This will be the "input" entry in the variables.
        Specified by:
        getResult in interface SKContext
        Returns:
        the "input" entry in the variables
      • getVariables

        public ContextVariables getVariables()
        Description copied from interface: SKContext
        Return a copy of all variables within the context
        Specified by:
        getVariables in interface SKContext
        Returns:
        a clone of the variables
      • update

        public SKContext update​(@Nonnull
                                String content)
        Description copied from interface: SKContext
        Updates the input entry with the given data
        Specified by:
        update in interface SKContext
        Parameters:
        content - value to set
        Returns:
        Context for fluent calls
      • update

        public SKContext update​(@Nonnull
                                ContextVariables newData)
        Description copied from interface: SKContext
        Merges in the given variables. Duplicate keys provided by newData will overwrite existing entries.
        Specified by:
        update in interface SKContext
        Parameters:
        newData - variables to merge in
        Returns:
        Context for fluent calls
      • isErrorOccurred

        public boolean isErrorOccurred()
      • getLastErrorDescription

        public String getLastErrorDescription()