Class AbstractCompletions
java.lang.Object
org.springframework.shell.standard.completion.AbstractCompletions
- Direct Known Subclasses:
BashCompletions
,ZshCompletions
Base class for completion script commands providing functionality for
resource handling and templating with
antrl stringtemplate
.-
Constructor Summary
ConstructorDescriptionAbstractCompletions
(org.springframework.core.io.ResourceLoader resourceLoader, CommandCatalog commandCatalog) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.shell.standard.completion.AbstractCompletions.Builder
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.
-
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.
-