edu.memphis.ccrg.lida.framework.mockclasses
Class MockWorkspaceBufferImpl

java.lang.Object
  extended by edu.memphis.ccrg.lida.framework.FrameworkModuleImpl
      extended by edu.memphis.ccrg.lida.workspace.workspacebuffers.WorkspaceBufferImpl
          extended by edu.memphis.ccrg.lida.framework.mockclasses.MockWorkspaceBufferImpl
All Implemented Interfaces:
FrameworkModule, FullyInitializable, Initializable, WorkspaceBuffer

public class MockWorkspaceBufferImpl
extends WorkspaceBufferImpl


Field Summary
 NodeStructure content
           
 java.util.Map<java.lang.String,java.lang.Object> params
           
 
Fields inherited from class edu.memphis.ccrg.lida.framework.FrameworkModuleImpl
taskSpawner
 
Constructor Summary
MockWorkspaceBufferImpl()
           
 
Method Summary
 void addBufferContent(WorkspaceContent content)
          Adds specified content to this workspace buffer.
 WorkspaceContent getBufferContent(java.util.Map<java.lang.String,java.lang.Object> params)
          Gets buffer content based on specified parameters.
 
Methods inherited from class edu.memphis.ccrg.lida.workspace.workspacebuffers.WorkspaceBufferImpl
addListener, decayModule, getModuleContent, init
 
Methods inherited from class edu.memphis.ccrg.lida.framework.FrameworkModuleImpl
addSubModule, containsSubmodule, containsSubmodule, getAssistingTaskSpawner, getModuleName, getParam, getSubmodule, getSubmodule, getSubmodules, init, setAssistingTaskSpawner, setAssociatedModule, setModuleName, taskManagerDecayModule, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface edu.memphis.ccrg.lida.framework.FrameworkModule
addSubModule, containsSubmodule, containsSubmodule, getAssistingTaskSpawner, getModuleName, getSubmodule, getSubmodule, getSubmodules, setAssistingTaskSpawner, setModuleName, taskManagerDecayModule
 
Methods inherited from interface edu.memphis.ccrg.lida.framework.initialization.FullyInitializable
setAssociatedModule
 
Methods inherited from interface edu.memphis.ccrg.lida.framework.initialization.Initializable
getParam, init
 

Field Detail

params

public java.util.Map<java.lang.String,java.lang.Object> params

content

public NodeStructure content
Constructor Detail

MockWorkspaceBufferImpl

public MockWorkspaceBufferImpl()
Method Detail

getBufferContent

public WorkspaceContent getBufferContent(java.util.Map<java.lang.String,java.lang.Object> params)
Description copied from interface: WorkspaceBuffer
Gets buffer content based on specified parameters.

Specified by:
getBufferContent in interface WorkspaceBuffer
Overrides:
getBufferContent in class WorkspaceBufferImpl
Parameters:
params - optional parameters to specify what content is returned
Returns:
WorkspaceContent

addBufferContent

public void addBufferContent(WorkspaceContent content)
Description copied from interface: WorkspaceBuffer
Adds specified content to this workspace buffer.

Specified by:
addBufferContent in interface WorkspaceBuffer
Overrides:
addBufferContent in class WorkspaceBufferImpl
Parameters:
content - WorkspaceContent to add