001package headfirst.command.remote;
002
003public class GarageDoorUpCommand implements Command {
004        GarageDoor garageDoor;
005
006        public GarageDoorUpCommand(GarageDoor garageDoor) {
007                this.garageDoor = garageDoor;
008        }
009
010        public void execute() {
011                garageDoor.up();
012        }
013}