Class AbstractCompletions

java.lang.Object
org.springframework.shell.standard.completion.AbstractCompletions
Direct Known Subclasses:
BashCompletions, ZshCompletions

public abstract class AbstractCompletions extends Object
Base class for completion script commands providing functionality for resource handling and templating with antrl stringtemplate.
  • Constructor Summary

    Constructors
    Constructor
    Description
    AbstractCompletions(org.springframework.core.io.ResourceLoader resourceLoader, CommandCatalog commandCatalog)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.springframework.shell.standard.completion.AbstractCompletions.Builder
     
    protected org.springframework.shell.standard.completion.AbstractCompletions.CommandModel
    Generates a model for a recursive command model starting from root level going down with all sub commands with options.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AbstractCompletions

      public AbstractCompletions(org.springframework.core.io.ResourceLoader resourceLoader, CommandCatalog commandCatalog)
  • Method Details

    • builder

      protected org.springframework.shell.standard.completion.AbstractCompletions.Builder builder()
    • generateCommandModel

      protected org.springframework.shell.standard.completion.AbstractCompletions.CommandModel generateCommandModel()
      Generates a model for a recursive command model starting from root level going down with all sub commands with options. Essentially providing all needed to build completions structure.