Class G2PluginInterface.InitContext

  • Enclosing interface:
    G2PluginInterface

    public static class G2PluginInterface.InitContext
    extends Object
    Context for initializing.
    • Constructor Detail

      • InitContext

        public InitContext​(String configInfo,
                           G2EngineContext engineContext)
        Constructs the initialization context.
        Parameters:
        configInfo - The configuration info.
        engineContext - The G2EngineContext to associate with the initialization context.
    • Method Detail

      • getConfigInfo

        public String getConfigInfo()
        Gets the config info.
        Returns:
        The config info string
      • 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.