Interface ValueProvider

All Known Subinterfaces:
ShellOption.NoValueProvider
All Known Implementing Classes:
CommandValueProvider, EnumValueProvider, FileValueProvider

public interface ValueProvider
Beans implementing this interface are queried during TAB completion to gather possible values of a parameter.
  • Method Summary

    Modifier and Type
    Method
    Description
    List<org.springframework.shell.CompletionProposal>
    complete(org.springframework.shell.CompletionContext completionContext)
    Complete completion proposals.
  • Method Details

    • complete

      List<org.springframework.shell.CompletionProposal> complete(org.springframework.shell.CompletionContext completionContext)
      Complete completion proposals.
      Parameters:
      completionContext - the context
      Returns:
      the completion proposals