com.newisys.eventsim
Class PulseEvent
java.lang.Object
com.newisys.eventsim.Event
com.newisys.eventsim.PulseEvent
- Direct Known Subclasses:
- OVAEvent
public class PulseEvent
- extends Event
An Event that does not retain its state as on or off.
|
Constructor Summary |
PulseEvent()
Create a new PulseEvent. |
PulseEvent(String name)
Create a new PulseEvent with the specified name. |
|
Method Summary |
boolean |
hasOccurred()
Returns whether or not this PulseEvent has occurred. |
PulseEvent
public PulseEvent()
- Create a new PulseEvent.
PulseEvent
public PulseEvent(String name)
- Create a new PulseEvent with the specified name.
- Parameters:
name - the name of this PulseEvent
hasOccurred
public boolean hasOccurred()
- Returns whether or not this PulseEvent has occurred. PulseEvents do not
retain on/off state and thus always return
false.
- Specified by:
hasOccurred in class Event
- Returns:
false