org.qedeq.kernel.bo.service.internal
Class PluginResultManager

java.lang.Object
  extended by org.qedeq.kernel.bo.service.internal.PluginResultManager

public class PluginResultManager
extends java.lang.Object

Holds all known QEDEQ modules.


Constructor Summary
PluginResultManager()
           
 
Method Summary
 void addResult(ModuleService plugin, SourceFileExceptionList errors, SourceFileExceptionList warnings)
          Add results of a plugin.
 SourceFileExceptionList getAllErrors()
          Get all errors that occurred.
 SourceFileExceptionList getAllWarnings()
          Get all warnings that occurred.
 java.lang.String getPluginStateDescription()
          Get plugin states description.
 void removeAllResults()
          Clear all plugin results.
 void setResult(ModuleServicePlugin plugin, SourceFileExceptionList errors, SourceFileExceptionList warnings)
          Set a plugin execution results.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginResultManager

public PluginResultManager()
Method Detail

removeAllResults

public void removeAllResults()
Clear all plugin results.


setResult

public void setResult(ModuleServicePlugin plugin,
                      SourceFileExceptionList errors,
                      SourceFileExceptionList warnings)
Set a plugin execution results.

Parameters:
plugin - Set results for this plugin.
errors - Plugin errors.
warnings - Plugin warnings.

addResult

public void addResult(ModuleService plugin,
                      SourceFileExceptionList errors,
                      SourceFileExceptionList warnings)
Add results of a plugin.

Parameters:
plugin - Add results for this plugin.
errors - Plugin errors.
warnings - Plugin warnings.

getAllErrors

public SourceFileExceptionList getAllErrors()
Get all errors that occurred. The resulting object is never null.

Returns:
Error list.

getAllWarnings

public SourceFileExceptionList getAllWarnings()
Get all warnings that occurred. The resulting object is never null.

Returns:
Warnings list.

getPluginStateDescription

public java.lang.String getPluginStateDescription()
Get plugin states description.

Returns:
Textual description of plugin states.


Copyright © 2014. All Rights Reserved.