eu.larkc.jactr.modules.larkc.plugin
Interface ILarKCPluginModule

All Known Implementing Classes:
LarKCPluginModule

public interface ILarKCPluginModule

A jACT-R module that wraps a LarKC Plug-in must implement this interface. Modules that implement this interface should be initialized with the parameters: PluginBuffer, PluginURI, PluginInput and PluginOutput

Author:
Martijn Brakenhoff

Field Summary
static String PLUGIN_BUFFER
           
static String PLUGIN_URI
           
 
Method Summary
 String getPluginURI()
          Returns the PluginURI parameter that was supplied to this module.
 boolean isAlive()
          Checks if the plug-in manager thread is still running or has terminated.
 void setBufferName(String name)
          Sets the buffer name that will be used by this module.
 void setPluginURI(String uri)
          Sets the URI that specifies the LarKC Plug-in that will be wrapped by this module.
 

Field Detail

PLUGIN_URI

static final String PLUGIN_URI
See Also:
Constant Field Values

PLUGIN_BUFFER

static final String PLUGIN_BUFFER
See Also:
Constant Field Values
Method Detail

getPluginURI

String getPluginURI()
Returns the PluginURI parameter that was supplied to this module.

Returns:
the Plug-in URI specified in the model.

setPluginURI

void setPluginURI(String uri)
Sets the URI that specifies the LarKC Plug-in that will be wrapped by this module.

Parameters:
uri - the Plug-in URI

setBufferName

void setBufferName(String name)
Sets the buffer name that will be used by this module. This is a necessity, because multiple instances of this module are necessary to create a Workflow.

Parameters:
name - the buffer name.

isAlive

boolean isAlive()
Checks if the plug-in manager thread is still running or has terminated.

Returns:
True if the plug-in manager is still alive, otherwise false.