/* * login.java * * Implementation of the LOGIN command. */ package commands; import gui.Login; import kernel.AbstractProcess; import kernel.AppException; /** * * Implementation of the LOGIN command. * * @author Jan Horký */ public class login extends AbstractProcess { /** * Realizes the LOGIN command. * * @throws AppException * Exception caused by an error in the virtual machines manager. */ public void realization() throws AppException { if (new Login().exec()) this.getKernel().executeMainShell(this.getID()); } /** * Provides help for users. */ public String getHelp() { return "\n\nDescription:\nLogin is used when signing onto a system..\n\n"; } }