org.springframework.cloud.dataflow.shell.config

## Class DataFlowPromptProvider

- java.lang.Object
- - org.springframework.cloud.dataflow.shell.config.DataFlowPromptProvider

- All Implemented Interfaces:
    org.springframework.shell.plugin.NamedProvider, org.springframework.shell.plugin.PromptProvider

      @Component
       @Order(value=-2147483648)
      public class DataFlowPromptProvider
      extends Object
      implements org.springframework.shell.plugin.PromptProvider

  A provider that sets the shell prompt to 'dataflow' if the server is available, 'server-unknown' otherwise.
  Author:
    Ilayaperumal Gopinathan

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DataFlowPromptProvider()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getPrompt()`
    `String` | `getProviderName()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DataFlowPromptProvider

          public DataFlowPromptProvider()

  - ### Method Detail

    - #### getProviderName

          public String getProviderName()

      Specified by:
        `getProviderName` in interface `org.springframework.shell.plugin.NamedProvider`

    - #### getPrompt

          public String getPrompt()

      Specified by:
        `getPrompt` in interface `org.springframework.shell.plugin.PromptProvider`

Copyright © 2021 Pivotal Software, Inc.. All rights reserved.