Package org.jboss.as.cli.impl.aesh.cmd
Class AbstractCommaCompleter
- java.lang.Object
-
- org.jboss.as.cli.impl.aesh.cmd.AbstractCommaCompleter
-
- All Implemented Interfaces:
org.aesh.command.completer.OptionCompleter<CLICompleterInvocation>
- Direct Known Subclasses:
AbstractDeployCommand.ServerGroupsCompleter,SecurityCommand.OptionCompleters.MechanismsCompleter
public abstract class AbstractCommaCompleter extends Object implements org.aesh.command.completer.OptionCompleter<CLICompleterInvocation>
Base class to complete values separated by ',' character.- Author:
- jdenise@redhat.com
-
-
Constructor Summary
Constructors Constructor Description AbstractCommaCompleter()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidcomplete(CLICompleterInvocation completerInvocation)protected abstract List<String>getItems(CLICompleterInvocation completerInvocation)
-
-
-
Method Detail
-
getItems
protected abstract List<String> getItems(CLICompleterInvocation completerInvocation)
-
complete
public void complete(CLICompleterInvocation completerInvocation)
- Specified by:
completein interfaceorg.aesh.command.completer.OptionCompleter<CLICompleterInvocation>
-
-