Class CommandValueProvider

java.lang.Object
org.springframework.shell.standard.CommandValueProvider
All Implemented Interfaces:
ValueProvider

public class CommandValueProvider extends Object implements ValueProvider
A ValueProvider that can be used to auto-complete names of shell commands.
  • Constructor Details

    • CommandValueProvider

      public CommandValueProvider(org.springframework.shell.command.CommandCatalog commandRegistry)
  • Method Details

    • complete

      public List<org.springframework.shell.CompletionProposal> complete(org.springframework.shell.CompletionContext completionContext)
      Description copied from interface: ValueProvider
      Complete completion proposals.
      Specified by:
      complete in interface ValueProvider
      Parameters:
      completionContext - the context
      Returns:
      the completion proposals