Package org.jboss.as.cli.handlers

Examples of org.jboss.as.cli.handlers.SimpleTabCompleterWithDelegate


* @author Alexey Loubyansky
*/
public class BatchHandler extends CommandHandlerWithHelp {

    public BatchHandler() {
        super("batch", new SimpleTabCompleterWithDelegate(new String[]{"-l", "--help"}, new CommandLineCompleter(){
            @Override
            public int complete(CommandContext ctx, String buffer, int cursor, List<String> candidates) {

                BatchManager batchManager = ctx.getBatchManager();
                Set<String> names = batchManager.getHeldbackNames();
View Full Code Here

TOP

Related Classes of org.jboss.as.cli.handlers.SimpleTabCompleterWithDelegate

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.