Class DataFlowPromptProvider
java.lang.Object
org.springframework.cloud.dataflow.shell.config.DataFlowPromptProvider
- All Implemented Interfaces:
PromptProvider
A provider that sets the shell prompt to 'dataflow' if the server is available, 'server-unknown' otherwise.
- Author:
- Ilayaperumal Gopinathan, Chris Bono
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DataFlowPromptProvider
public DataFlowPromptProvider()
-
-
Method Details
-
getPrompt
public org.jline.utils.AttributedString getPrompt()- Specified by:
getPrompt
in interfacePromptProvider
-