|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfaa.tg.simevent.action.AcTerminateAction
public class AcTerminateAction
AcTerminateAction executes a termination command on the given Aircraft.See the source: AcTerminateAction.java
AcNewSpeedActionState,
Serialized Form| Field Summary | |
|---|---|
private Aircraft |
aircraft
The aircraft to execute upon |
static java.lang.String |
CVS_VERSION_ID
The CVS Version ID |
(package private) static long |
serialVersionUID
|
| Constructor Summary | |
|---|---|
AcTerminateAction(Aircraft aircraft)
Construct an AcTerminateAction with the Aircraft |
|
| Method Summary | |
|---|---|
AcTerminateAction |
clone()
Provide a clone implementation |
void |
execute(Aircraft aircraft)
Execute the Action by executing the commandLine on the given aircraft. |
void |
execute(Scenario scenario)
Execute the Action by ... |
java.lang.String |
getName()
This method will return a unique name for this object. |
SimEventActionState |
getRecordable(SimulationTime timeStamp)
This is to satisfy the implementation of RecordableConditionalState (from SimEventAction). |
java.lang.String |
toShortString()
Returns a shorter version of toString |
java.lang.String |
toString()
Returns the AcTerminateAction information as a String. |
| Methods inherited from class java.lang.Object |
|---|
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 Aircraft aircraft
| Constructor Detail |
|---|
public AcTerminateAction(Aircraft aircraft)
aircraft - | Method Detail |
|---|
public void execute(Scenario scenario)
throws ExecutionException
execute in interface SimEventActionExecutionException - If a problem in execution.public void execute(Aircraft aircraft)
execute in interface SimEventActionOnAircraftaircraft - The aircraft to execute the command on.public SimEventActionState getRecordable(SimulationTime timeStamp)
getRecordable in interface RecordableConditionalState<SimulationTime>getRecordable in interface SimEventActiontimeStamp - the current time of the Scenario.
public java.lang.String getName()
public java.lang.String toString()
toString in interface SimEventActionOnAircrafttoString in class java.lang.Objectpublic java.lang.String toShortString()
toShortString in interface SimEventActionOnAircraftpublic AcTerminateAction clone()
clone in interface SimEventActionOnAircraftclone in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||