Examples of complete()


Examples of de.danet.an.workflow.localapi.ActivityLocal.complete()

                if (resParam != null) {
                    ProcessData res = new DefaultProcessData ();
                    res.put (resParam, "EXPIRED");
                    act.setResult (res);
                }
                act.complete ();
                if (logger.isDebugEnabled ()) {
                    logger.debug ("Result set for " + auk + " and completed");
                }
                return;
            } catch (InvalidDataException e) {
View Full Code Here

Examples of de.danet.an.workflow.omgcore.WfActivity.complete()

            SimpleApplicationInfo info
                = (SimpleApplicationInfo)infos.iterator().next();
            assertTrue (info.state() instanceof Object[]);
            WfActivity actFound = workflowService.processDirectory()
                .lookupActivity(info.activityUniqueKey());
            actFound.complete ();
            ad.removeInstance(info.id());
           
            assertTrue (stateReached (process, "closed.completed"));
      procDir.removeProcess(process);
  } finally {
View Full Code Here

Examples of eas.startSetup.ParCollection.complete()

     *                        expensive.
     */
    @SuppressWarnings("unused")
    private static void extractAllStatisticsFilesIn(File path, HashSet<String> changingParams) {
        ParCollection params = GlobalVariables.getPrematureParameters();
        params.complete();
        params.setLoggingLevel(-1);
        String endungGZ = "gz";
        String endung = "xml";
        String[] gespGrGZ = path.list(new FileNamePostfixFilter(endungGZ));
        String[] gespGr;
View Full Code Here

Examples of flex2.compiler.io.ResourceFile.complete()

            return findResourceBundleHelper(sources, s1);
        }

        rf1 = (ResourceFile) o1;

        if (rf1 != null && rf1.complete())
        {
            return findResourceBundleHelper(sources, s1);
        }
        else
        {
View Full Code Here

Examples of henplus.Command.complete()

                    ++i;
                }
                while (param.length() < i && !Character.isWhitespace(param.charAt(i))) {
                    ++i;
                }
                return c.complete(disp, toExecute + param.substring(i), lastWord);
            }
        }

        return null;
    }
View Full Code Here

Examples of java.util.concurrent.CompletableFuture.complete()

    @SuppressWarnings({"unchecked", "rawtypes"})
    public void channelRead(final ChannelHandlerContext context, Object message) {
      Response response = (Response) message;
      CompletableFuture responseFuture = client.responseFutures.remove(response.id());
      if (responseFuture != null) {
        responseFuture.complete(response);
      }
    }
  }

}
View Full Code Here

Examples of javax.servlet.AsyncContext.complete()

          //Thread.sleep(2*1000);
          Thread.sleep(100);
          log.info("Writing data.");
          actx.getResponse().getWriter().write(
              "Output from background thread. Time:" + System.currentTimeMillis() + "\n");
          actx.complete();
        } catch (InterruptedException x) {
          log.error("Async2", x);
        } catch (IllegalStateException x) {
          log.error("Async2", x);
        } catch (IOException x) {
View Full Code Here

Examples of jline.ArgumentCompletor.complete()

    // We stack a custom Completor on top of our ArgumentCompletor
    // to reverse this.
    Completor completor = new Completor () {
      public int complete (String buffer, int offset, List completions) {
        List<String> comp = (List<String>) completions;
        int ret = ac.complete(buffer, offset, completions);
        // ConsoleReader will do the substitution if and only if there
        // is exactly one valid completion, so we ignore other cases.
        if (completions.size() == 1) {
          if (comp.get(0).endsWith("( ")) {
            comp.set(0, comp.get(0).trim());
View Full Code Here

Examples of jline.Completor.complete()

            String[] args = list.getArguments();
            String arg = ((args == null) || (i >= args.length)) ? "" : args[i];

            List subCandidates = new LinkedList();

            if (sub.complete(arg, arg.length(), subCandidates) == -1) {
                return -1;
            }

            if (subCandidates.size() == 0) {
                return -1;
View Full Code Here

Examples of jline.console.completer.ArgumentCompleter.complete()

          }
          completers.add(new StringsCompleter(token));
        }
        completers.add(new StringsCompleter(args));
        Completer completer = new ArgumentCompleter(completers);
        return completer.complete(buffer, cursor, candidates);
      } else if (CliConstants.HELP_ACTION.equals(action)) {
        // For help action, we need to display available commands as arguments
        return helpCommandCompleter.complete(buffer, cursor, candidates);
      }
    }
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.