org.springframework.shell.plugin.support

## Class DefaultPromptProvider

- java.lang.Object
- - org.springframework.shell.plugin.support.DefaultPromptProvider

- All Implemented Interfaces:
    NamedProvider, PromptProvider

      @Component
      public class DefaultPromptProvider
      extends Object
      implements PromptProvider

  Default prompt provider. The prompt text is `org.springframework.shell.Constant.COMMAND_LINE_PROMPT`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultPromptProvider()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getPrompt()` Returns the prompt text.
    `String` | `getProviderName()` Return the name of the provider.

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

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

- - ### Constructor Detail

    - #### DefaultPromptProvider

          public DefaultPromptProvider()

  - ### Method Detail

    - #### getPrompt

          public String getPrompt()

      Description copied from interface: `PromptProvider`
      Returns the prompt text.
      Specified by:
        `getPrompt` in interface `PromptProvider`
      Returns:
        prompt

    - #### getProviderName

          public String getProviderName()

      Description copied from interface: `NamedProvider`
      Return the name of the provider.
      Specified by:
        `getProviderName` in interface `NamedProvider`