Package org.jboss.as.cli.handlers
Class SimpleTabCompleter
- java.lang.Object
-
- org.jboss.as.cli.handlers.SimpleTabCompleter
-
- All Implemented Interfaces:
CommandLineCompleter
public class SimpleTabCompleter extends Object implements CommandLineCompleter
- Author:
- Alexey Loubyansky
-
-
Field Summary
Fields Modifier and Type Field Description static SimpleTabCompleterBOOLEAN
-
Constructor Summary
Constructors Constructor Description SimpleTabCompleter(String[] candidates)SimpleTabCompleter(Collection<? extends Object> candidates)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcomplete(CommandContext ctx, String buffer, int cursor, List<String> candidates)
-
-
-
Field Detail
-
BOOLEAN
public static final SimpleTabCompleter BOOLEAN
-
-
Constructor Detail
-
SimpleTabCompleter
public SimpleTabCompleter(String[] candidates)
-
SimpleTabCompleter
public SimpleTabCompleter(Collection<? extends Object> candidates)
-
-
Method Detail
-
complete
public int complete(CommandContext ctx, String buffer, int cursor, List<String> candidates)
- Specified by:
completein interfaceCommandLineCompleter
-
-