Package org.springframework.shell.event

Examples of org.springframework.shell.event.ShellStatusListener


        return true;
      }
    };
    ansiTerminal.init();
    // Make sure to reset the original shell's colors on shutdown by closing the stream
    statusListener = new ShellStatusListener() {
      public void onShellStatusChange(final ShellStatus oldStatus, final ShellStatus newStatus) {
        if (newStatus.getStatus().equals(Status.SHUTTING_DOWN)) {
          ansiOut.close();
        }
      }
View Full Code Here

TOP

Related Classes of org.springframework.shell.event.ShellStatusListener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.