Package sqlline

Class PromptHandler

java.lang.Object
sqlline.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.

  • Constructor Summary

    Constructors 
    Constructor Description
    PromptHandler​(SqlLine sqlLine)  
  • Method Summary

    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 Details

  • Method Details

    • getRightPrompt

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

      public org.jline.utils.AttributedString getPrompt()