org.specrunner.plugins
Interface IParalelPlugin

All Superinterfaces:
IActionType, IParameterHolder, IPlugin
All Known Implementing Classes:
AbstractPlugin, AbstractPluginDefine, AbstractPluginDual, AbstractPluginNamed, AbstractPluginObject, AbstractPluginObjectCompare, AbstractPluginObjectSelect, AbstractPluginObjectSelectNone, AbstractPluginObjectSelectUnique, AbstractPluginResource, AbstractPluginResourceReplaceable, AbstractPluginResourceReplaceableSrc, AbstractPluginScoped, AbstractPluginTable, AbstractPluginValue, PluginAssertion, PluginBean, PluginCall, PluginColumn, PluginCompareTree, PluginContains, PluginDefineCondition, PluginDefineGlobal, PluginDefineLocal, PluginDelete, PluginElse, PluginEquals, PluginExecute, PluginExecuteLatter, PluginExecuteRows, PluginFor, PluginHtml, PluginIf, PluginIfBranch, PluginImg, PluginImport, PluginInclude, PluginInsert, PluginIterable, PluginIterator, PluginLink, PluginMacro, PluginMap, PluginNop, PluginNotContains, PluginNotEquals, PluginPause, PluginReplacer, PluginReplacerMap, PluginScript, PluginSentence, PluginThen, PluginVerifyRows, PluginWhile

public interface IParalelPlugin
extends IPlugin

Stand for a plugin with concurrency constrains. If plugin implements this interface the boolean threadsafe is the sign for the plugin perfom its actions considering thread safe scenarios, for example in memory databases can have their URLs changed to different threads.

Author:
Thiago Santos

Method Summary
 Boolean getThreadsafe()
          The plugin thread safe status.
 void setThreadsafe(Boolean threadsafe)
          Set the thread safe status.
 
Methods inherited from interface org.specrunner.plugins.IPlugin
copy, doEnd, doStart, getParent, initialize, setParent
 
Methods inherited from interface org.specrunner.parameters.IParameterHolder
getParameters, setParameters
 
Methods inherited from interface org.specrunner.plugins.IActionType
getActionType
 

Method Detail

setThreadsafe

void setThreadsafe(Boolean threadsafe)
Set the thread safe status.

Parameters:
threadsafe - The plugin thread safe flag.

getThreadsafe

Boolean getThreadsafe()
The plugin thread safe status.

Returns:
The thread safe status.


Copyright © 2014. All rights reserved.