Examples of exclude()


Examples of org.apache.xbean.finder.UrlSet.exclude()

            UrlSet urls;
            try {
                urls = new UrlSet(cl);
                if (cl.getParent() != null) {
                    urls = urls.exclude(cl.getParent());
                }
            } catch (IOException e) {
                streamManager.writeErr(INDENT + "` can't get urls of this classloader");
                continue;
            }
View Full Code Here

Examples of org.apache.xbean.finder.UrlSet.exclude()

        ClassLoader classLoader = Thread.currentThread().getContextClassLoader();

        UrlSet urlSet = new UrlSet(classLoader);

        if (classLoader.getParent() != null) {
            urlSet = urlSet.exclude(classLoader.getParent());
        }

        urlSet = urlSet.excludeJavaHome();

        archive = new ClasspathArchive(classLoader, urlSet.getUrls());
View Full Code Here

Examples of org.apache.xbean.finder.UrlSet.exclude()

        ClassLoader classLoader = Thread.currentThread().getContextClassLoader();

        UrlSet urlSet = new UrlSet(classLoader);

        if (classLoader.getParent() != null) {
            urlSet = urlSet.exclude(classLoader.getParent());
        }

        urlSet = urlSet.excludeJavaHome();

        List<Archive> list = ClasspathArchive.archives(classLoader, urlSet.getUrls());
View Full Code Here

Examples of org.codehaus.enunciate.doc.DocumentationExample.exclude()

  protected void generateExampleXml(Attribute attribute, org.jdom.Element parent, String defaultNs) {
    if (!includeDeprecatedFieldsInExample && attribute.getAnnotation(Deprecated.class) != null) {
      return;
    }
    DocumentationExample exampleInfo = attribute.getAnnotation(DocumentationExample.class);
    if (exampleInfo == null || !exampleInfo.exclude()) {
      String namespace = attribute.getNamespace();
      String prefix = namespace == null ? null : ((EnunciateFreemarkerModel) FreemarkerModel.get()).getNamespacesToPrefixes().get(namespace);
      String exampleValue = exampleInfo == null || "##default".equals(exampleInfo.value()) ? "..." : exampleInfo.value();
      Namespace jdomNS;
      if (Namespace.XML_NAMESPACE.getURI().equals(namespace)) {
View Full Code Here

Examples of org.codehaus.enunciate.qname.XmlQNameEnumValue.exclude()

      String ns = namespace;
      String localPart = enumConstant.getSimpleName();
      XmlQNameEnumValue enumValueInfo = enumConstant.getAnnotation(XmlQNameEnumValue.class);
      if (enumValueInfo != null) {
        if (enumValueInfo.exclude()) {
          continue;
        }

        if (!"##default".equals(enumValueInfo.namespace())) {
          ns = enumValueInfo.namespace();
View Full Code Here

Examples of org.elasticsearch.search.facet.terms.TermsFacetBuilder.exclude()

        break;
      default:
        builder.order(TermsFacet.ComparatorType.COUNT);
    }
    if (ArrayUtils.isNotEmpty(excludeTerms)) {
      builder.exclude(excludeTerms);
    }

    if (allTerms) {
      builder.allTerms(allTerms);
    }
View Full Code Here

Examples of org.encog.app.analyst.csv.filter.FilterCSV.exclude()

    public void testFilterCSVHeaders() throws IOException
    {
        generateTestFileHeadings(true);
        FilterCSV norm = new FilterCSV();
        norm.analyze(INPUT_NAME, true, CSVFormat.ENGLISH);
        norm.exclude(1, "1");
        norm.process(OUTPUT_NAME);

        BufferedReader tr = new BufferedReader(new FileReader(OUTPUT_NAME));
        Assert.assertEquals("\"a\",\"b\"", tr.readLine());
        Assert.assertEquals("four,2", tr.readLine());
View Full Code Here

Examples of org.gradle.api.file.ConfigurableFileTree.exclude()

        if (scanTargetPatterns != null) {
            for (ScanTargetPattern scanTargetPattern : scanTargetPatterns) {
                ConfigurableFileTree files = getProject().fileTree(scanTargetPattern.getDirectory());
                files.include(scanTargetPattern.getIncludes());
                files.exclude(scanTargetPattern.getExcludes());
                List<File> currentTargets = getExtraScanTargets();
                if (currentTargets != null && !currentTargets.isEmpty()) {
                    currentTargets.addAll(files.getFiles());
                } else {
                    setExtraScanTargets((List) files.asType(List.class));
View Full Code Here

Examples of org.gradle.api.file.CopySpec.exclude()

        CopySpec spec = (CopySpec)getDelegate();
       
        // do filters
        for (String s : filters)
        {
            if (s.startsWith("!")) spec.exclude(s.substring(1));
            else                   spec.include(s);
        }
       
        // expands
       
View Full Code Here

Examples of org.gradle.api.file.FileCopyDetails.exclude()

                description.appendText("exclude file");
            }

            public Object invoke(Invocation invocation) throws Throwable {
                FileCopyDetails details = (FileCopyDetails) invocation.getParameter(0);
                details.exclude();
                return 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.