org.springframework.cloud.dataflow.shell.config

## Class ShellCommandLineConfiguration

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

-     @Configuration
      public class ShellCommandLineConfiguration
      extends Object

  Configuration class for the command line runner
  Author:
    Josh Long, Mark Pollack

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ShellCommandLineConfiguration()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `ShellCommandLineRunner` | `commandLineRunner()` Return the interactive command line runner.

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

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

- - ### Constructor Detail

    - #### ShellCommandLineConfiguration

          public ShellCommandLineConfiguration()

  - ### Method Detail

    - #### commandLineRunner

          @Bean
           @ConditionalOnMissingBean(type="org.springframework.cloud.dataflow.registry.service.AppRegistryService")
          public ShellCommandLineRunner commandLineRunner()

      Return the interactive command line runner. The `ConditionalOnMissingBean` annotation is used so that this interactive command line runner is not created when running the shell in the same process as the Data Flow server.
      Returns:
        the interactive shell

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