|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfaa.tg.simevent.action.ActivateFlightAction
public class ActivateFlightAction
ActivateFlightAction activates a Flight.See the source: ActivateFlightAction.java
SimEventActionState,
Serialized Form| Field Summary | |
|---|---|
private java.lang.String |
aircraftID
The aircraft ID of the flight to be activated. |
static java.lang.String |
CVS_VERSION_ID
The CVS Version ID |
private Flight |
flight
The Flight to be activated. |
(package private) static long |
serialVersionUID
|
| Constructor Summary | |
|---|---|
ActivateFlightAction(Flight theFlight)
Construct an ActivateFlightAction with theFlight to be activated. |
|
| Method Summary | |
|---|---|
void |
execute(Scenario scenario)
Activate the flight. |
java.lang.String |
getName()
Returns a String that can be used as the name of this object. |
SimEventActionState |
getRecordable(SimulationTime timeStamp)
This is to satisfy the implementation of RecordableConditionalState (from SimEventAction). |
java.lang.String |
toString()
Returns the SpCommand information as a String. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
static final long serialVersionUID
public static final java.lang.String CVS_VERSION_ID
private transient Flight flight
private java.lang.String aircraftID
| Constructor Detail |
|---|
public ActivateFlightAction(Flight theFlight)
theFlight - to be activated.| Method Detail |
|---|
public void execute(Scenario scenario)
throws ExecutionException
execute in interface SimEventActionExecutionException - If a problem in execution.public java.lang.String getName()
public SimEventActionState getRecordable(SimulationTime timeStamp)
getRecordable in interface RecordableConditionalState<SimulationTime>getRecordable in interface SimEventActiontimeStamp - the current time of the Scenario.
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||