Package sqlline

Class PromptHandler


  • public class PromptHandler
    extends java.lang.Object
    Default prompt handler class which allows customization for the prompt shown at the start of each line.

    This class can be extended to allow customizations for: default prompt, prompt or right prompt.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.jline.utils.AttributedString getPrompt()  
      org.jline.utils.AttributedString getRightPrompt()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PromptHandler

        public PromptHandler​(SqlLine sqlLine)
    • Method Detail

      • getRightPrompt

        public org.jline.utils.AttributedString getRightPrompt()
      • getPrompt

        public org.jline.utils.AttributedString getPrompt()