Package gov.nasa.jpl.command
Class WriteCommand
java.lang.Object
gov.nasa.jpl.command.WriteCommand
- All Implemented Interfaces:
Command
This command writes out one of several file types depending on the input name. It can filter by activity or resource
type and time range.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute()
static ConstraintInstanceList
getConstraintListFromString
(String commandString) static ResourceList
getResourceListFromString
(String commandString) void
Does not currently do anything.static void
validateActivityTypes
(List<String> activityTypes) checks that every activity type in the provided array is a valid activity type throws a CommandException if an invalid resource is found
-
Constructor Details
-
WriteCommand
-
-
Method Details
-
execute
- Specified by:
execute
in interfaceCommand
- Throws:
CommandException
-
unExecute
Does not currently do anything.- Specified by:
unExecute
in interfaceCommand
- Throws:
CommandException
-
validateActivityTypes
checks that every activity type in the provided array is a valid activity type throws a CommandException if an invalid resource is found -
getResourceListFromString
-
getConstraintListFromString
-