Examples of include()


Examples of org.eclipse.jgit.transport.BundleWriter.include()

      log("%d entries added", cnt);
      final String msg = "snapshot";
      final RevCommit head = git.commit().setMessage(msg).call();

      final BundleWriter bw = new BundleWriter(git.getRepository());
      bw.include(sanitizeHeadRef(bundleRef), head);

      final FileOutputStream out = new FileOutputStream(bundle);
      try {
        bw.writeBundle(createProgressMonitor(), out);
      } finally {
View Full Code Here

Examples of org.elasticsearch.action.mlt.MoreLikeThisRequest.include()

        mltRequest.minDocFreq(request.paramAsInt("min_doc_freq", -1));
        mltRequest.maxDocFreq(request.paramAsInt("max_doc_freq", -1));
        mltRequest.minWordLength(request.paramAsInt("min_word_len", request.paramAsInt("min_word_length", -1)));
        mltRequest.maxWordLength(request.paramAsInt("max_word_len", request.paramAsInt("max_word_length", -1)));
        mltRequest.boostTerms(request.paramAsFloat("boost_terms", -1));
        mltRequest.include(request.paramAsBoolean("include", false));

        mltRequest.searchType(SearchType.fromString(request.param("search_type")));
        mltRequest.searchIndices(request.paramAsStringArray("search_indices", null));
        mltRequest.searchTypes(request.paramAsStringArray("search_types", null));
        mltRequest.searchSize(request.paramAsInt("search_size", mltRequest.searchSize()));
View Full Code Here

Examples of org.gatein.wci.ServletContainer.include()

    @Override
    public void dispatch(ServletContext target, HttpServletRequest request, HttpServletResponse response,
            final Callable callable) throws Exception {
        ServletContainer container = ServletContainerFactory.getServletContainer();
        container.include(target, request, response, new RequestDispatchCallback() {
            @Override
            public Object doCallback(ServletContext dispatchedServletContext, HttpServletRequest dispatchedRequest,
                    HttpServletResponse dispatchedResponse, Object handback) throws ServletException, IOException {
                callable.call(dispatchedServletContext, dispatchedRequest, dispatchedResponse);
View Full Code Here

Examples of org.gatein.wci.command.CommandDispatcher.include()

   {
      if (manualMonitoredContexts.containsKey(targetServletContext.getServletContextName()))
      {
         String dispatherPath = manualMonitoredContexts.get(targetServletContext.getServletContextName());
         CommandDispatcher dispatcher = new CommandDispatcher(dispatherPath);
         return dispatcher.include(targetServletContext, request, response, callback, handback);
      }
      else
      {
         return dispatcher.include(targetServletContext, request, response, callback, handback);
      }
View Full Code Here

Examples of org.gatein.wci.command.TomcatCommandDispatcher.include()

   {
      if (manualMonitoredContexts.containsKey(targetServletContext.getServletContextName()))
      {
         String dispatherPath = manualMonitoredContexts.get(targetServletContext.getServletContextName());
         CommandDispatcher dispatcher = new TomcatCommandDispatcher(dispatherPath);
         return dispatcher.include(targetServletContext, request, response, callback, handback);
      }
      else
      {
         return dispatcher.include(targetServletContext, request, response, callback, handback);
      }
View Full Code Here

Examples of org.gatein.wci.impl.DefaultServletContainer.include()

   public void testServletContainerThrowsISE() throws Exception
   {
      ServletContainer container = new DefaultServletContainer();
      try
      {
         container.include(null, null, null, null, null);
         fail("Was expecting an ISE");
      }
      catch (IllegalStateException ignore)
      {
      }
View Full Code Here

Examples of org.geotools.geometry.Envelope2D.include()

            if (source == null) {
                size--;
                continue;
            }
            // Expand the BBOX for containing all the input Coverages
            globalBbox.include(source.getEnvelope2D());
            // Add the gridGeometry associated to the coverage
            gg2D.add(source.getGridGeometry());
        }

        // Creation of the list of the transformations to use.
View Full Code Here

Examples of org.geotools.geometry.jts.ReferencedEnvelope.include()

          }
          if( bounds.isNull() ){
            bounds.init((Envelope)env);
          }
          else {
            bounds.include(env);             
            // bounds.expandToInclude(env);
          }
        }
      }finally{
        requests.clear();
View Full Code Here

Examples of org.geotools.geometry.jts.ReferencedEnvelope3D.include()

// Direct access to internal upper and lower positions
DirectPosition lower = envelope.getLowerCorner();
DirectPosition upper = envelope.getUpperCorner();
// expand to include 15, 30, 40
envelope.include(15, 30, 40);
envelope.isEmpty(); // check if storing width and height are 0
envelope.isNull(); // check if "null" (not storing anything)
envelope.setToNull();
View Full Code Here

Examples of org.gitective.core.filter.commit.CommitCursorFilter.include()

   * @throws Exception
   */
  @Test
  public void cloneFilter() throws Exception {
    CommitCursorFilter filter = new CommitCursorFilter(RevFilter.NONE);
    assertFalse(filter.include(null, null));
    RevFilter clone = filter.clone();
    assertNotNull(clone);
    assertNotSame(filter, clone);
    assertTrue(clone instanceof CommitCursorFilter);
    assertFalse(clone.include(null, null));
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.