Class MoveActivityCommand

java.lang.Object
gov.nasa.jpl.command.MoveActivityCommand
All Implemented Interfaces:
Command

public class MoveActivityCommand extends Object implements Command
  • Constructor Details

    • MoveActivityCommand

      public MoveActivityCommand(String commandString)
      Takes in an id and a time, which is surrounded by parenthesis. Instantiates a new version of the activity at the given time, storing the old activity instance for undo.
      Parameters:
      commandString - - id of activity followed by a new start time
  • Method Details