public class RuntimeProject
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private IExperiment |
activeExperiment |
private java.util.Map<java.lang.String,IDataSourceService> |
dataSourceServices |
private java.util.Map<IExperiment,RuntimeExperiment> |
experimentRuntime |
private IGeppettoManager |
geppettoManager |
private GeppettoModel |
geppettoModel |
private GeppettoModelAccess |
geppettoModelAccess |
private IGeppettoProject |
geppettoProject |
private static Log |
logger |
private java.util.Map<GeppettoLibrary,IModelInterpreter> |
modelInterpreters |
Constructor and Description |
---|
RuntimeProject(IGeppettoProject project,
IGeppettoManager geppettoManager) |
private IExperiment activeExperiment
private java.util.Map<GeppettoLibrary,IModelInterpreter> modelInterpreters
private java.util.Map<IExperiment,RuntimeExperiment> experimentRuntime
private GeppettoModel geppettoModel
private GeppettoModelAccess geppettoModelAccess
private IGeppettoManager geppettoManager
private IGeppettoProject geppettoProject
private java.util.Map<java.lang.String,IDataSourceService> dataSourceServices
private static Log logger
public RuntimeProject(IGeppettoProject project, IGeppettoManager geppettoManager) throws java.net.MalformedURLException, GeppettoInitializationException
project
- geppettoManagerCallbackListener
- java.net.MalformedURLException
GeppettoInitializationException
public void openExperiment(java.lang.String requestId, IExperiment experiment) throws java.net.MalformedURLException, GeppettoInitializationException, GeppettoExecutionException
requestId
- experiment
- java.net.MalformedURLException
GeppettoInitializationException
GeppettoExecutionException
public void closeExperiment(IExperiment experiment) throws GeppettoExecutionException
experiment
- GeppettoExecutionException
public RuntimeExperiment getRuntimeExperiment(IExperiment experiment) throws GeppettoExecutionException
experiment
- GeppettoExecutionException
public IExperiment getActiveExperiment()
public void setActiveExperiment(IExperiment experiment) throws GeppettoExecutionException
experiment
- GeppettoExecutionException
public void release() throws GeppettoExecutionException
GeppettoExecutionException
public void populateNewExperiment(IExperiment experiment) throws GeppettoVisitingException
experiment
- GeppettoVisitingException
public GeppettoModel resolveImportType(java.util.List<java.lang.String> typePaths) throws GeppettoExecutionException
typePaths
- GeppettoModelException
GeppettoExecutionException
public GeppettoModel resolveImportValue(java.lang.String path) throws GeppettoExecutionException
path
- GeppettoExecutionException
public GeppettoModel fetchVariable(java.lang.String dataSourceId, java.lang.String variableId) throws GeppettoModelException, GeppettoDataSourceException
dataSourceId
- variableId
- GeppettoModelException
GeppettoDataSourceException
public QueryResults runQuery(java.util.List<RunnableQuery> queries) throws GeppettoModelException, GeppettoDataSourceException
queries
- GeppettoModelException
GeppettoDataSourceException
public int runQueryCount(java.util.List<RunnableQuery> queries) throws GeppettoModelException, GeppettoDataSourceException
queries
- GeppettoModelException
GeppettoDataSourceException
private IDataSourceService getDataSourceService(java.lang.String dataSourceId) throws GeppettoModelException
dataSourceId
- GeppettoInitializationException
GeppettoModelException
public IGeppettoManager getGeppettoManager()
public IModelInterpreter getModelInterpreter(Pointer pointer)
pointer
- public IModelInterpreter getModelInterpreter(GeppettoLibrary library)
library
- public GeppettoModel getGeppettoModel()
public IGeppettoProject getGeppettoProject()