1 package org.springframework.roo.shell; 2 3 /** 4 * Obtains the prompt used by a {@link Shell}. 5 * 6 * @author Ben Alex 7 * @since 1.0 8 * 9 */ 10 public interface ShellPromptAccessor { 11 12 /** 13 * @return the shell prompt (never null; the result may include special characters such as ANSI 14 * escape codes if the implementation is using them) 15 */ 16 String getShellPrompt(); 17 }