|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectexperiment.event.Event
experiment.event.topology.NodeEvent
public class NodeEvent
Created by IntelliJ IDEA. User: andy Date: Mar 11, 2010
Field Summary |
---|
Fields inherited from class experiment.event.Event |
---|
timestamp |
Constructor Summary | |
---|---|
NodeEvent(long timestamp,
java.lang.String id,
boolean status)
Default constructor for Node Topology events. |
Method Summary | |
---|---|
void |
addData(Directive data)
Dummy method |
boolean |
apply(ExperimentState state)
Applies this event to the experiment. |
Methods inherited from class experiment.event.Event |
---|
getTimestamp |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NodeEvent(long timestamp, java.lang.String id, boolean status)
timestamp
- the Event timestampid
- the id of the node that this event corresponds tostatus
- true to enable the entity, false to disable itMethod Detail |
---|
public void addData(Directive data)
addData
in class Event
data
- the data to be addedpublic boolean apply(ExperimentState state) throws badSyntaxException
apply
in class Event
state
- the experiment state where this event belong to.
badSyntaxException
- in case of a mistake in the wiseml syntax.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |