|
||||||||||
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.esterel.cec.sim.DataComponent
public class DataComponent
Field Summary |
---|
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 |
Constructor Summary | |
---|---|
DataComponent()
|
Method Summary | |
---|---|
String[] |
getSupportedExtensions()
|
void |
initialize()
Initialize. |
boolean |
isObserver()
To check whether the DataComponent is an observer. |
boolean |
isProducer()
To check whether the DataComponent is a producer. |
List<KiemProperty> |
produceInformation()
|
JSONObject |
provideInitialVariables()
Provide (local) interface variables and possible initial values. |
KiemProperty[] |
provideProperties()
Provide properties for this component. |
JSONObject |
step(JSONObject jSONObject)
Step method for a DataObserver and a DataPrroducer. |
void |
wrapup()
Wrap-up. |
Methods inherited from class de.cau.cs.kieler.sim.kiem.JSONObjectDataComponent |
---|
getInitialVariables, provideFilterKeysJSON, setInitialVariables |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataComponent()
Method Detail |
---|
public void initialize() throws KiemInitializationException
KiemInitializationException
.
KiemInitializationException
- a KiemInitializationExceptionpublic JSONObject step(JSONObject jSONObject) throws KiemExecutionException
KiemExecutionException
that is then catched by the execution manager an brought to
the user's attention.
jSONObject
- the concrete JSONObject of input data (if observer)
KiemExecutionException
- a KiemExecutionExceptionpublic boolean isObserver()
public boolean isProducer()
public KiemProperty[] provideProperties()
AbstractDataComponent
provideProperties
in class AbstractDataComponent
public void wrapup() throws KiemInitializationException
KiemInitializationException
.
KiemInitializationException
- a KiemInitializationExceptionpublic JSONObject provideInitialVariables() throws KiemInitializationException
JSONObjectDataComponent
JSONObjectDataComponent.getInitialVariables()
method.
provideInitialVariables
in class JSONObjectDataComponent
KiemInitializationException
- if a property prevents the execution of this DataComponent this error should be
thrownpublic List<KiemProperty> produceInformation()
public String[] getSupportedExtensions()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |