Class DataFlowPromptProvider

java.lang.Object
org.springframework.cloud.dataflow.shell.config.DataFlowPromptProvider
All Implemented Interfaces:
PromptProvider

@Component public class DataFlowPromptProvider extends Object implements PromptProvider
A provider that sets the shell prompt to 'dataflow' if the server is available, 'server-unknown' otherwise.
Author:
Ilayaperumal Gopinathan, Chris Bono
  • Constructor Details

    • DataFlowPromptProvider

      public DataFlowPromptProvider()
  • Method Details

    • getPrompt

      public org.jline.utils.AttributedString getPrompt()
      Specified by:
      getPrompt in interface PromptProvider