Class DoOpenMenuSavingsAccount

java.lang.Object
pt.tecnico.uilib.menus.Command<Account>
bank.app.account.DoOpenMenuSavingsAccount

public class DoOpenMenuSavingsAccount extends Command<Account>
Open menu for a specific savings account.
  • Constructor Details

    • DoOpenMenuSavingsAccount

      public DoOpenMenuSavingsAccount(Account receiver)
      Parameters:
      receiver -
  • Method Details

    • execute

      protected final void execute() throws CommandException
      Description copied from class: Command
      Executes the command: as defined in the Command pattern, the command's execution should eventually invoke the receiver's action.
      Specified by:
      execute in class Command<Account>
      Throws:
      CommandException - if something wrong or unexpected occurs.
      See Also:
      pt.tecnico.po.ui.Command#execute()