Examples of complete()


Examples of org.camunda.bpm.engine.runtime.CaseExecutionCommandBuilder.complete()

      CaseService caseService = engine.getCaseService();
      CaseExecutionCommandBuilder commandBuilder = caseService.withCaseExecution(caseInstanceId);

      initializeCommand(commandBuilder, triggerDto, "complete");

      commandBuilder.complete();

    } catch (NotFoundException e) {
      throw createInvalidRequestException("complete", Status.NOT_FOUND, e);

    } catch (NotValidException e) {
View Full Code Here

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

                }
            }
        }

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

    public void destroy() {
        AtmosphereContinuationBayeux bayeux = (AtmosphereContinuationBayeux) _bayeux;
        if (bayeux != null) {
View Full Code Here

Examples of org.crsh.cli.spi.Completer.complete()

    }

    //
    if (completer != null) {
      try {
        return new CompletionMatch(delimiter, completer.complete(parameter, prefix));
      }
      catch (Exception e) {
        throw new CompletionException(e);
      }
    } else {
View Full Code Here

Examples of org.cyclopsgroup.jcli.jline.CliCompletor.complete()

                LOG.debug( "Analyzing commmand arguments [" + commandArguments + "]" );
            }
            Command cmd = commandCenter.commandFactory.createCommand( commandName );
            cmd.setSession( commandCenter.session );
            CliCompletor commandCompletor = new CliCompletor( cmd, commandCenter.argTokenizer );
            return commandCompletor.complete( commandArguments, position - separatorPos, candidates ) + separatorPos
                + 1;
        }
        catch ( RuntimeException e )
        {
            if ( LOG.isDebugEnabled() )
View Full Code Here

Examples of org.dspace.app.xmlui.utils.DSpaceValidity.complete()

                        // Generate the validity based on the properties of the report data file
                        DSpaceValidity newValidity = new DSpaceValidity();
                        newValidity.add(Long.toString(analysisFile.lastModified()));
                        newValidity.add("-");
                        newValidity.add(Long.toString(analysisFile.length()));
                        validity = newValidity.complete();
                    }
                }
            }
            catch (Exception e)
            {
View Full Code Here

Examples of org.dspace.core.Context.complete()

      }
    } catch (Exception e) {
      log.error(e.getMessage(), e);
    }
    log.info("#### END IMPORT: -----" + new Date() + " ----- ####");
    dspaceContext.complete();
  }
}
View Full Code Here

Examples of org.eclipse.jdt.internal.codeassist.CompletionEngine.complete()

        fakeSource,
        null,
        getElementName(),
        getParent());

    engine.complete(cu, prefix.length + position, prefix.length, null/*extended context isn't computed*/);
  } else {
    engine.complete(this, snippet, position, localVariableTypeNames, localVariableNames, localVariableModifiers, isStatic);
  }
  if (NameLookup.VERBOSE) {
    System.out.println(Thread.currentThread() + " TIME SPENT in NameLoopkup#seekTypesInSourcePackage: " + environment.nameLookup.timeSpentInSeekTypesInSourcePackage + "ms")//$NON-NLS-1$ //$NON-NLS-2$
View Full Code Here

Examples of org.eclipse.jetty.continuation.Continuation.complete()

            else if (action.type == Action.TYPE.RESUME) {
                logger.debug("Resume {}", res);

                if (!resumed.remove(c)) {
                    try {
                        c.complete();
                    }
                    catch (IllegalStateException ex) {
                        logger.debug("Continuation.complete()", ex);
                    }
                    finally {
View Full Code Here

Examples of org.encog.util.http.FormUtility.complete()

    final ByteArrayOutputStream bos = new ByteArrayOutputStream();
    final FormUtility form = new FormUtility(bos, null);
    form.add("appid", "YahooDemo");
    form.add("results", "100");
    form.add("query", searchFor);
    form.complete();

    final URL url = new URL(
        "http://search.yahooapis.com/WebSearchService/V1/webSearch?"
            + bos.toString());
    bos.close();
View Full Code Here

Examples of org.fireflow.engine.IWorkItem.complete()

   * @see org.fireflow.engine.IWorkflowSession#completeWorkItem(java.lang.String)
   */
  public void completeWorkItem(String workItemId) throws EngineException,
      KernelException {
    IWorkItem wi = this.findWorkItemById(workItemId);
    wi.complete();

  }

  /* (non-Javadoc)
   * @see org.fireflow.engine.IWorkflowSession#completeWorkItem(java.lang.String, java.lang.String)
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.