org.springframework.shell.plugin.support

## Class DefaultHistoryFileNameProvider

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

- All Implemented Interfaces:
    HistoryFileNameProvider, NamedProvider

      @Component
      public class DefaultHistoryFileNameProvider
      extends Object
      implements HistoryFileNameProvider

  Default history file provider. Default file is `org.springframework.shell.Constant.HISTORY_FILE_NAME`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultHistoryFileNameProvider()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getHistoryFileName()` get history file name
    `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

    - #### DefaultHistoryFileNameProvider

          public DefaultHistoryFileNameProvider()

  - ### Method Detail

    - #### getHistoryFileName

          public String getHistoryFileName()

      Description copied from interface: `HistoryFileNameProvider`
      get history file name
      Specified by:
        `getHistoryFileName` in interface `HistoryFileNameProvider`
      Returns:
        history file name

    - #### getProviderName

          public String getProviderName()

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