Examples of scan()


Examples of com.buschmais.jqassistant.plugin.maven3.impl.scanner.impl.scanner.MavenProjectMavenScannerPlugin.scan()

        List testFiles = new ArrayList<>();
        testFiles.add(mock(FileDescriptor.class));

        when(scanner.scan(Mockito.any(ClassesDirectory.class), Mockito.any(String.class), Mockito.eq(CLASSPATH))).thenReturn(mainFiles, testFiles);

        scannerPlugin.scan(project, null, null, scanner);

        verify(scanner).scan(Mockito.any(ClassesDirectory.class), Mockito.eq("target/classes"), Mockito.eq(CLASSPATH));
        verify(scanner).scan(Mockito.any(ClassesDirectory.class), Mockito.eq("target/test-classes"), Mockito.eq(CLASSPATH));
        verify(store).create(MavenProjectDirectoryDescriptor.class, "group:artifact:1.0.0");
        verify(projectDescriptor).setName("project");
View Full Code Here

Examples of com.caucho.loader.JarMap.scan()

  private Entry readJar(Path jarPath)
  {
    JarMap jarMap = new JarMap();

    jarMap.scan(jarPath);

    Iterator<String> keyIter = jarMap.keys();
    while (keyIter.hasNext()) {
      String key = keyIter.next();
View Full Code Here

Examples of com.caucho.loader.enhancer.ScanManager.scan()

      ArrayList<ScanListener> selfList = new ArrayList<ScanListener>();
      selfList.add(listener);
      ScanManager scanManager = new ScanManager(selfList);

      for (URL url : urlList) {
        scanManager.scan(this, url, null);
      }
    }
  }
 
  private boolean isScanRootAvailable(URL url)
View Full Code Here

Examples of com.connect_group.thymesheet.css.selectors.scanner.Scanner.scan()

    public Set<Node> querySelectorAll(String selectors) throws NodeSelectorException {
        Assert.notNull(selectors, "selectors is null!");
        List<List<Selector>> groups;
        try {
            Scanner scanner = new Scanner(selectors);
            groups = scanner.scan();
        } catch (ScannerException e) {
            throw new NodeSelectorException(e);
        }

        Set<Node> results = new LinkedHashSet<Node>();
View Full Code Here

Examples of com.corundumstudio.socketio.annotation.ScannerEngine.scan()

    }

    @Override
    public void addListeners(Object listeners) {
        ScannerEngine engine = new ScannerEngine();
        engine.scan(this, listeners, listeners.getClass());
    }

    @Override
    public void addListeners(Object listeners, Class listenersClass) {
        ScannerEngine engine = new ScannerEngine();
View Full Code Here

Examples of com.cuubez.visualizer.scanner.ClassScanner.scan()

        String applicationPath = InformationRepository.getInstance().getApplicationConfigurationContext().getApplicationPath();
        ClassScanner scanner = new ClassScanner();

        try {
            classes = scanner.scan(applicationPath);
        } catch (IOException e) {
            log.error(e);
        }

        if (classes != null) {
View Full Code Here

Examples of com.damnhandy.uri.template.impl.UriTemplateParser.scan()

    */
   protected void parseTemplateString() throws MalformedUriTemplateException
   {
      final String templateString = getTemplate();
      final UriTemplateParser scanner = new UriTemplateParser();
      this.components = scanner.scan(templateString);
      initExpressions();
   }

   /**
    *  Initializes the collection of expressions in the template.
View Full Code Here

Examples of com.googlecode.goclipse.go.lang.lexer.Lexer.scan()

        while ((temp = reader.readLine()) != null) {
          builder.append(temp);
          builder.append("\n");
        }
        reader.close();
        lexer.scan(builder.toString());

        List<Function> functions = functionParser.getFunctions();
        for (Function function : functions) {
          System.out.println(function.getName());
View Full Code Here

Examples of com.mangofactory.swagger.scanners.ApiListingScanner.scan()

      apiListingScanner.setApiDescriptionOrdering(apiDescriptionOrdering);
      apiListingScanner.setSwaggerGlobalSettings(swaggerGlobalSettings);
      apiListingScanner.setResourceGroupingStrategy(apiListingReferenceScanner.getResourceGroupingStrategy());

      Map<String, ApiListing> apiListings = apiListingScanner.scan();
      swaggerCache.addApiListings(swaggerGroup, apiListings);

    } else {
      log.error("ApiListingReferenceScanner not configured");
    }
View Full Code Here

Examples of com.pardot.rhombus.TableScanner.scan()

      om.insert(objectType, insertValue);
    }

    VisitorFactoryTester visitorFactory = new VisitorFactoryTester();
    TableScanner scanner = new TableScanner(om, objectType, 1, visitorFactory, null);
    scanner.scan();

    long totalCount = 0;
    for(VisitorTester visitor : visitorFactory.getInstances()) {
      totalCount += visitor.getObjectCount();
    }
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.