Examples of execute()


Examples of org.milyn.ect.ECTUnEdifactExecutor.execute()

            try {
                ect.setUnEdifactZip(src);
                ect.setUrn(project.getGroupId() + ":" + project.getArtifactId() + ":" + project.getVersion());
                ect.setMappingModelFolder(destDir);

                ect.execute();

                Resource resource = new Resource();
                resource.setDirectory(destDir.getPath());
                project.addResource(resource);
View Full Code Here

Examples of org.milyn.ejc.EJCExecutor.execute()

            if(destDir.exists()) {
                destDir.delete();
            }

            ejc.execute();
            project.addCompileSourceRoot(destDir.getPath());

            Resource resource = new Resource();
            resource.setDirectory(destDir.getPath());
            resource.addInclude("**/*.xml");
 
View Full Code Here

Examples of org.milyn.function.StringFunctionExecutor.execute()

                        if(stringFunctionExecutor == null) {
                          contentHandler.characters(recordChars, fieldLengthTotal, fieldLength);
                        } else {
                          String value = flRecord.substring(fieldLengthTotal, fieldLengthTotal + fieldLength);
 
                          value = stringFunctionExecutor.execute(value);
 
                          contentHandler.characters(value.toCharArray(), 0, value.length());
                        }
                  }
 
View Full Code Here

Examples of org.mitre.medfacts.i2b2.cli.BatchRunner.execute()

      b.processEnabledFeaturesFile(featuresFile);

      b.setRunConfiguration(currentRunConfiguration);

      b.execute();

      logger.info(String.format("====== END RUN # %d WITH %d FILES IN TRAINING SET =====", i, size));
      i++;
    }
View Full Code Here

Examples of org.mitre.medfacts.i2b2.scanners.CueListScanner.execute()

       File negationCueFile = new File(negationCueFileUri);
       System.out.format("negation cue list url: %s%n", negationCueFile);

       CueListScanner scanner = new CueListScanner(negationCueFile, CueWordType.NEGATION);
       scanner.setTextLookup(textLookup);
       scanner.execute();
       List<Annotation> annotationList = scanner.getAnnotationList();
       System.out.println("ANNOTATIONS:");
       if (annotationList == null)
       {
         System.out.println("no annotations returned.");
View Full Code Here

Examples of org.mitre.medfacts.zoner.ZonerCli.execute()

   
    zonerCli.setEntireContents(jcas.getDocumentText());
    // initialize converter once contents are set
    zonerCli.initialize();
    try {
      zonerCli.execute();
    } catch (IOException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
      return;
      //throw new AnalysisEngineProcessException(e);
View Full Code Here

Examples of org.mmisw.ont.admin.OntologyDeleter.execute()

    String sessionId = "9c188a9b8de0fe0c21b9322b72255fb939a68bb2";
    OntologyDeleter del = new OntologyDeleter(sessionId , ontology.getId());
   
    String result;
    try {
      result = del.execute();
    }
    catch (Exception e) {
      throw new ServletException("Error requesting deletion", e);
    }
   
View Full Code Here

Examples of org.mobicents.slee.service.common.SimpleCallFlowState.execute()

  private void executeRequestState(RequestEvent event) {
    String callId = ((CallIdHeader) event.getRequest().getHeader(
        CallIdHeader.NAME)).getCallId();
    SessionAssociation sa = (SessionAssociation) cache.get(callId);
    SimpleCallFlowState simpleCallFlowState = getState(sa.getState());
    simpleCallFlowState.execute(event);
  }

  private void executeResponseState(ResponseEvent event) {
    String callId = ((CallIdHeader) event.getResponse().getHeader(
        CallIdHeader.NAME)).getCallId();
View Full Code Here

Examples of org.modeshape.jcr.api.query.Query.execute()

        session.save();
        waitForIndexes();

        // Compute a query plan that should use this index ...
        Query query = jcrSql2Query("SELECT * FROM [mix:title] WHERE [jcr:title] = 'The Title'");
        validateQuery().rowCount(1L).useIndex("descriptionIndex").validate(query, query.execute());

        // Compute a query plan that should NOT use this index ...
        query = jcrSql2Query("SELECT * FROM [mix:title] WHERE [jcr:title] LIKE 'The Title'");
        validateQuery().rowCount(1L).useNoIndexes().validate(query, query.execute());

View Full Code Here

Examples of org.modeshape.jcr.api.sequencer.Sequencer.execute()

                          .debug("Skipping sequencing because input's MIME type '{0}' is not accepted by the '{1}' sequencer",
                                 mimeType, sequencerName);
                    return false;
                }
            }
            return sequencer.execute(inputProperty, outputNode, context);
        } catch (RepositoryException e) {
            throw e;
        } catch (Exception e) {
            throw new RepositoryException(e);
        }
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.