com.bits.client.taskmodule
Class TaskModuleLogic

java.lang.Object
  extended by com.bits.client.taskmodule.TaskModuleLogic

public class TaskModuleLogic
extends java.lang.Object

This Class encapsulates some of the general logic for the taskmodule

Author:
smeitar

Field Summary
static taskmodule.experiment.IExperiment currentExp
          the current recorded experiment
static java.lang.String recordedTasks
          Deprecated. 
 
Constructor Summary
TaskModuleLogic()
           
 
Method Summary
static taskmodule.experiment.IExperiment createExperiment(java.lang.String expName)
          Creates an experiment object by name
static boolean isRecording()
          Shows the state of the recordings
static void startRecording(java.lang.String expName)
          Start recording an experiment
static void stopRecording()
          stop recording the experiment
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

recordedTasks

@Deprecated
public static java.lang.String recordedTasks
Deprecated. 

currentExp

public static taskmodule.experiment.IExperiment currentExp
the current recorded experiment

Constructor Detail

TaskModuleLogic

public TaskModuleLogic()
Method Detail

stopRecording

public static void stopRecording()
stop recording the experiment


startRecording

public static void startRecording(java.lang.String expName)
Start recording an experiment

Parameters:
expName - the name of the experiment

createExperiment

public static taskmodule.experiment.IExperiment createExperiment(java.lang.String expName)
Creates an experiment object by name

Parameters:
expName - name of the experiment
Returns:
object of the experiment

isRecording

public static boolean isRecording()
Shows the state of the recordings

Returns:
true if currently recording an experiment