use of org.jboss.as.cli.handlers.CommandHandlerWithArguments in project wildfly-core by wildfly.
the class FilenameTabCompleterTestCase method setup.
@Before
public void setup() throws CliInitializationException {
ctx = CommandContextFactory.getInstance().newCommandContext();
final DefaultFilenameTabCompleter completer = new DefaultFilenameTabCompleter(ctx);
final CommandHandlerWithArguments cmd = new CommandHandlerWithArguments() {
@Override
public boolean isAvailable(CommandContext ctx) {
// TODO Auto-generated method stub
return false;
}
@Override
public boolean isBatchMode(CommandContext ctx) {
// TODO Auto-generated method stub
return false;
}
@Override
public void handle(CommandContext ctx) throws CommandLineException {
// TODO Auto-generated method stub
}
};
arg = new FileSystemPathArgument(cmd, completer, 0, "arg");
parsedCmd = new DefaultCallbackHandler();
}
Aggregations