Examples of complete()


Examples of org.jnode.shell.CommandLine.complete()

                BjorneBuiltinCommandInfo commandInfo =
                    BjorneInterpreter.BUILTINS.get(commandName).buildCommandInfo(context);
                command.setCommandInfo(commandInfo);
            }
            command.setArgumentAnticipated(argumentAnticipated);
            command.complete(completions, shell);
        } catch (ShellException ex) {
            throw new CompletionException("Shell exception", ex);
        }
    }
}
View Full Code Here

Examples of org.jnode.shell.Completable.complete()

                }
            }
            String lastWord = partial.substring(wordStart);
            Completable completable = interpreter.parsePartial(shell, partial);
            CommandCompletions completions = new CommandCompletions();
            completable.complete(completions, shell);
            Set<String> completionWords = completions.getCompletions();
            switch (flags.charAt(inWord)) {
                case 'T':
                    // Expect completions
                    Assert.assertTrue("got no completions: " + diag(partial, completions),
View Full Code Here

Examples of org.jnode.shell.syntax.ArgumentBundle.complete()

                // We're missing the syntax, but we do have an argument bundle.  Generate
                // a default syntax from the bundle.
                syntaxes = new SyntaxBundle(cmd, bundle.createDefaultSyntax());
            }  
            try {
                bundle.complete(this, syntaxes, completions);
            } catch (CommandSyntaxException ex) {
                throw new CompletionException("Command syntax problem", ex);
            }
        } else {
            // We haven't got a command name yet, so complete the partial command name string
View Full Code Here

Examples of org.jostraca.process.TemplateHandler.complete()

    TestParser tp = (TestParser) th;
   
    th.process( tm01 );
    assertEquals( "TestParser:new, process:[Template[p:[]]], ", tp.toString() );

    th.complete( ListUtil.make( tm01 ) );
    assertEquals( "TestParser:new, process:[Template[p:[]]], complete:[[Template[p:[]]]], ", tp.toString() );
  }

}
View Full Code Here

Examples of org.kie.api.task.TaskService.complete()

        List<TaskSummary> tasks = taskService.getTasksOwned("max", "en-UK");
        System.out.println("Found " + tasks.size() + " task(s) for user 'max'");

        long taskId = tasks.get(0).getId();
        taskService.start(taskId, "max");
        taskService.complete(taskId, "max", null);


        tasks = taskService.getTasksAssignedAsPotentialOwner("max", "en-UK");
        System.out.println("Found " + tasks.size() + " task(s) for user 'max'");
View Full Code Here

Examples of org.locationtech.geogig.api.ProgressListener.complete()

            // The full history was fetched, this is no longer a shallow clone
            command(ConfigOp.class).setAction(ConfigAction.CONFIG_UNSET)
                    .setScope(ConfigScope.LOCAL).setName(Repository.DEPTH_CONFIG_KEY).call();
        }

        progressListener.complete();

        return result;
    }

    /**
 
View Full Code Here

Examples of org.mindswap.pellet.tableau.completion.CompletionStrategy.complete()

        }

    Timer completionTimer = kb.timers.getTimer( "complete" );
    completionTimer.start();
    try {
      strategy.complete( expr );
    }
    finally {
      completionTimer.stop();
    }
View Full Code Here

Examples of org.mindswap.pellet.tableau.completion.SROIQIncStrategy.complete()

    // set abox to not being complete
    setComplete( false );
    Timer completionTimer = kb.timers.getTimer( "complete" );
    completionTimer.start();
    try {
      incStrategy.complete(kb.getExpressivityChecker().getExpressivity());
    }
    finally {
      completionTimer.stop();
    }
   
View Full Code Here

Examples of org.mortbay.cometd.Transport.complete()

                }
            }
        }

        if (transport != null)
            transport.complete();
    }

    public void destroy()
    {
        ContinuationBayeux bayeux = (ContinuationBayeux)_bayeux;
View Full Code Here

Examples of org.mortbay.jetty.HttpGenerator.complete()

                generator.addContent(new View(new ByteArrayBuffer(_genContent)),false);
            else if (_parsedContent!=null)
                generator.addContent(new ByteArrayBuffer(_parsedContent.toByteArray()),false);
        }
       
        generator.complete();
        generator.flush();
        return endp.getOutput();
    }
   
    /* ------------------------------------------------------------ */
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.