public class ExecutionDataImpl extends Object implements ExecutionData
Constructor and Description |
---|
ExecutionDataImpl()
Create a new ExecutionDataImpl object.
|
Modifier and Type | Method and Description |
---|---|
Trial |
addTrial() |
void |
clear()
Clears the execution data object.
|
void |
closeSession()
Closes and clears a session.
|
Trial |
getCreateFirstTrial() |
Trial |
getCreateLastTrial() |
Module |
getModule() |
ModuleSession |
getModuleSession() |
int |
getSessionCompleted() |
LinkedList<Trial> |
getTrials() |
boolean |
isCloseCurrentSession() |
boolean |
isCloseSessionRequested()
Returns whether a session is closable.
|
void |
markSessionEnd() |
boolean |
openSession()
Opens a session if no session is opened currently
|
void |
persistTrials()
Persists the current trials and removes them from the data object.
|
void |
setCloseCurrentSession(boolean closeCurrentSession) |
void |
setDataService(DataService dataService) |
void |
setModule(Module module) |
void |
setSessionCompleted(int completed) |
public ExecutionDataImpl()
public void setDataService(DataService dataService)
public boolean openSession()
public void setSessionCompleted(int completed)
setSessionCompleted
in interface ExecutionData
public int getSessionCompleted()
getSessionCompleted
in interface ExecutionData
public boolean isCloseSessionRequested()
public void closeSession()
public void persistTrials()
public void setModule(Module module)
public void clear()
public boolean isCloseCurrentSession()
public void setCloseCurrentSession(boolean closeCurrentSession)
public Module getModule()
getModule
in interface ExecutionData
public ModuleSession getModuleSession()
getModuleSession
in interface ExecutionData
public void markSessionEnd()
markSessionEnd
in interface ExecutionData
public Trial getCreateFirstTrial()
getCreateFirstTrial
in interface ExecutionData
public Trial getCreateLastTrial()
getCreateLastTrial
in interface ExecutionData
public LinkedList<Trial> getTrials()
getTrials
in interface ExecutionData
public Trial addTrial()
addTrial
in interface ExecutionData
Copyright © 2013. All Rights Reserved.