Class G2StandardizationPlugin.ProcessingContext

  • Enclosing interface:
    G2StandardizationPlugin

    public static class G2StandardizationPlugin.ProcessingContext
    extends Object
    Context for processing.
    • Constructor Detail

      • ProcessingContext

        public ProcessingContext​(FeatureInfo input)
        Constructs an instance based on an input feature.
        Parameters:
        input - The input feature.
    • Method Detail

      • getInput

        public FeatureInfo getInput()
        Gets the FeatureInfo describing the input feature.
        Returns:
        The input feature.
      • getResult

        public FeatureInfo getResult()
        Gets the FeatureInfo describing the result feature.
        Returns:
        The result feature.
      • setResult

        public void setResult​(FeatureInfo result)
        Sets the result feature
        Parameters:
        result - The result feature
      • getErrorMessage

        public String getErrorMessage()
        Get the error message (if any).
        Returns:
        The error message that was set or null if no error.
      • setErrorMessage

        public void setErrorMessage​(String message)
        Sets the error message (if any).
        Parameters:
        message - The error message to set if an error occurs, or null to clear an error.