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() |
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) |
public ExecutionDataImpl()
public void setDataService(DataService dataService)
public boolean openSession()
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 ExecutionDatapublic ModuleSession getModuleSession()
getModuleSession in interface ExecutionDatapublic void markSessionEnd()
markSessionEnd in interface ExecutionDatapublic Trial getCreateFirstTrial()
getCreateFirstTrial in interface ExecutionDatapublic Trial getCreateLastTrial()
getCreateLastTrial in interface ExecutionDatapublic LinkedList<Trial> getTrials()
getTrials in interface ExecutionDatapublic Trial addTrial()
addTrial in interface ExecutionDataCopyright © 2012. All Rights Reserved.