|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.sim.kiem.internal.AbstractDataComponent
de.cau.cs.kieler.sim.kiem.JSONObjectDataComponent
de.cau.cs.kieler.sim.kiem.ui.datacomponent.JSONObjectSimulationDataComponent
de.cau.cs.kieler.sim.kiem.automated.AbstractAutomatedComponent
de.cau.cs.kieler.sim.kiem.automated.AbstractAutomatedProducer
de.cau.cs.kieler.sim.trace.TraceReader
public class TraceReader
Data-component to read traces in esi format.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class de.cau.cs.kieler.sim.kiem.ui.datacomponent.JSONObjectSimulationDataComponent |
---|
JSONObjectSimulationDataComponent.M2MProgressMonitor |
Field Summary |
---|
Fields inherited from class de.cau.cs.kieler.sim.kiem.ui.datacomponent.JSONObjectSimulationDataComponent |
---|
activePage, activePageFlag, exception, modelEditor |
Fields inherited from class de.cau.cs.kieler.sim.kiem.internal.AbstractDataComponent |
---|
MASTER_CMD_MACROSTEP, MASTER_CMD_PAUSE, MASTER_CMD_RUN, MASTER_CMD_STEP, MASTER_CMD_STEPBACK, MASTER_CMD_STOP |
Fields inherited from interface de.cau.cs.kieler.sim.kiem.automated.IAutomatedComponent |
---|
ANY_TYPE, ANY_TYPE_ARRAY, ITERATION, MODEL_FILE |
Constructor Summary | |
---|---|
TraceReader()
|
Method Summary | |
---|---|
JSONObject |
doProvideInitialVariables()
Performs the normal provide initial variables method. |
KiemProperty[] |
doProvideProperties()
|
JSONObject |
doStep(JSONObject input)
Implements the real step method for this simulation datacomponent. |
String[] |
getSupportedExtensions()
This component doesn't support any files. |
void |
initialize()
Initialize. |
boolean |
isObserver()
To check whether the DataComponent is an observer. |
boolean |
isProducer()
To check whether the DataComponent is a producer. |
void |
setParameters(List<KiemProperty> properties)
The default implementation only retrieves the model file and the current iteration index. |
int |
wantsMoreRuns()
The default implementation doesn't need any runs. |
int |
wantsMoreSteps()
The default implementation doesn't need any steps. |
void |
wrapup()
Wrap-up. |
Methods inherited from class de.cau.cs.kieler.sim.kiem.automated.AbstractAutomatedProducer |
---|
produceInformation, produceModelFileInformation |
Methods inherited from class de.cau.cs.kieler.sim.kiem.automated.AbstractAutomatedComponent |
---|
getIteration, getModelFile, getNumberOfAdditionalIterations, getNumberOfAdditionalSteps |
Methods inherited from class de.cau.cs.kieler.sim.kiem.ui.datacomponent.JSONObjectSimulationDataComponent |
---|
bringProblemsViewToFront, checkModelValidation, checkProperties, doModel2ModelTransform, getActivePage, getEditor, getInputEditor, getInputModel, getInputModelAsURI, getInputModelEObject, getInputResourceSet, getInputWorkspaceModel, getModelRootElement, getNotationElement, isTransformationCompleted, isTransformationError, provideFilterKeysJSON, provideInitialVariables, provideProperties, resolveBundelFile, step |
Methods inherited from class de.cau.cs.kieler.sim.kiem.JSONObjectDataComponent |
---|
getInitialVariables, setInitialVariables |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.cau.cs.kieler.sim.kiem.automated.IAutomatedComponent |
---|
getNumberOfAdditionalIterations, getNumberOfAdditionalSteps |
Constructor Detail |
---|
public TraceReader()
Method Detail |
---|
public JSONObject doStep(JSONObject input) throws KiemExecutionException
doStep
in class JSONObjectSimulationDataComponent
input
- the j son object
KiemExecutionException
- the kiem execution exceptionpublic void initialize() throws KiemInitializationException
KiemInitializationException
.
initialize
in interface IDataComponent
initialize
in class JSONObjectSimulationDataComponent
KiemInitializationException
public boolean isProducer()
isProducer
in interface IDataComponent
isProducer
in class JSONObjectSimulationDataComponent
public boolean isObserver()
isObserver
in interface IDataComponent
isObserver
in class JSONObjectSimulationDataComponent
public KiemProperty[] doProvideProperties()
doProvideProperties
in class JSONObjectSimulationDataComponent
public void wrapup()
KiemInitializationException
.
public JSONObject doProvideInitialVariables() throws KiemInitializationException
JSONObjectSimulationDataComponent
doProvideInitialVariables
in class JSONObjectSimulationDataComponent
KiemInitializationException
- the kiem initialization exceptionpublic void setParameters(List<KiemProperty> properties) throws KiemInitializationException
setParameters
in interface IAutomatedComponent
setParameters
in class AbstractAutomatedComponent
properties
- the properties passed before each execution
KiemInitializationException
public int wantsMoreRuns()
wantsMoreRuns
in interface IAutomatedComponent
wantsMoreRuns
in class AbstractAutomatedComponent
public int wantsMoreSteps()
wantsMoreSteps
in interface IAutomatedComponent
wantsMoreSteps
in class AbstractAutomatedComponent
public String[] getSupportedExtensions()
getSupportedExtensions
in interface IAutomatedComponent
getSupportedExtensions
in class AbstractAutomatedComponent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |