Class ContextUtil.ContextResult

java.lang.Object
net.sf.basedb.util.ContextUtil.ContextResult
Enclosing class:
ContextUtil

public static class ContextUtil.ContextResult extends Object
Class for holding the result of a call to the InteractivePlugin.isInContext(GuiContext, Object) method.
  • Field Details

  • Constructor Details

  • Method Details

    • getPluginDefinition

      public PluginDefinition getPluginDefinition()
      Get the plugin definition that was checked.
    • getPluginConfiguration

      public PluginConfiguration getPluginConfiguration()
      Get the plugin configuration that was checked, or null.
    • getContextMessage

      public String getContextMessage()
      Get the warning level message, or the message from Throwable.getMessage() if this is an error-level object.
    • getError

      public Throwable getError()
      Get the exception that caused the error, or null if this is a warning-level object.
    • getName

      public String getName()
      Get the name of the plug-in configuration or, if the configuration is null, of the plug-in definition
    • isInContext

      public boolean isInContext()
      If the context check was successful and generate no warnings or error.
    • isError

      public boolean isError()
      If this is an error-level object.