1 package org.springframework.roo.shell.event; 2 3 /** 4 * Represents the different states that a shell can legally be in. 5 * 6 * <p> 7 * There is no "shut down" state because the shell would have been terminated by 8 * that stage and potentially garbage collected. There is no guarantee that a 9 * shell implementation will necessarily publish every state. 10 * 11 * @author Ben Alex 12 * @since 1.0 13 * 14 */ 15 public enum ShellStatus { 16 STARTING, 17 STARTED, 18 USER_INPUT, 19 PARSING, 20 EXECUTING, 21 EXECUTION_RESULT_PROCESSING, 22 EXECUTION_COMPLETE, 23 SHUTTING_DOWN 24 }