Class MyFlightStatsCommand
java.lang.Object
org.deltava.commands.AbstractCommand
org.deltava.commands.AbstractViewCommand
org.deltava.commands.stats.MyFlightStatsCommand
- All Implemented Interfaces:
Command
A Web Site Command to display statistics about a Pilot's landings.
- Since:
- 2.1
- Version:
- 11.0
- Author:
- Luke
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.deltava.commands.Command
Command.Scope
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(CommandContext ctx) Executes the command.static org.json.JSONObject
Methods inherited from class org.deltava.commands.AbstractViewCommand
initView, initView
Methods inherited from class org.deltava.commands.AbstractCommand
forgottenException, getID, getName, getRoles, init, notFoundException, parseDateTime, parseDateTime, securityException, setRoles
-
Constructor Details
-
MyFlightStatsCommand
public MyFlightStatsCommand()
-
-
Method Details
-
execute
Executes the command.- Parameters:
ctx
- the Command context- Throws:
CommandException
- if an unhandled error occurs
-
toJSON
-