Examples of createFilter()


Examples of jifx.connection.configurator.filters.FilterFactory.createFilter()

        NodeList nodes = configuration.getChildNodes();
        for (int i = 0; i < nodes.getLength(); i++) {
          node = nodes.item(i);
          if (node.getNodeType() == Node.ELEMENT_NODE) {
            element = (Element) node;
            filter = ff.createFilter(channelName, jndi, timeout, flushTime, incomingTopic, outgoingTopic, element);
            if (filter == null)
              return;
            this.addNotificationListener((NotificationListener) filter, nf, this);
            if (prevFilter != null)
              prevFilter.setFilterTM(filter);
View Full Code Here

Examples of org.apache.jackrabbit.oak.plugins.observation.filter.FilterBuilder.Condition.createFilter()

        FilterBuilder builder = new FilterBuilder();
        Condition condition = builder.all(
                builder.path("path"),
                builder.excludeAll(),
                builder.path("path"));
        assertEquals(ConstantFilter.EXCLUDE_ALL, condition.createFilter(EMPTY_NODE, EMPTY_NODE, "/"));
    }

    @Test
    public void emptyAllShortcuts() {
        FilterBuilder builder = new FilterBuilder();
View Full Code Here

Examples of org.apache.jackrabbit.ocm.query.QueryManager.createFilter()

        // get persistent bean extent by root path
        try
        {
            // construct query filter
            QueryManager queryManager = ocm.getQueryManager();
            Filter filter = queryManager.createFilter(beanClass);
            filter.setScope(beanClassNodeRootPaths.get(beanClass)+"//");
            Query query = queryManager.createQuery(filter);
           
            // invoke query
            Collection<? extends IBean> beansExtentList = ocm.getObjects(query);
View Full Code Here

Examples of org.eclipse.core.resources.IFolder.createFilter()

        if (repoLink.exists()) {
            // Our work here is already done.
            return repoLink;
        }
        // Let's filter out some content we don't need.
        repoLink.createFilter(IResourceFilterDescription.EXCLUDE_ALL
                | IResourceFilterDescription.FOLDERS | IResourceFilterDescription.INHERITABLE,
                new FileInfoMatcherDescription(FILE_FILTER_ID, ".git"), 0, monitor);

        repoLink.createLink(repoPath, 0, monitor);
View Full Code Here

Examples of org.eclipse.core.resources.IFolder.createFilter()

        String[] resources = new String[] {
                "frameworks", "out", "libcore", "development"
        };

        for (String res : resources) {
            repoLink.createFilter(IResourceFilterDescription.INCLUDE_ONLY
                    | IResourceFilterDescription.FOLDERS, new FileInfoMatcherDescription(
                    FILE_FILTER_ID, res), 0, monitor);
        }

        // Let's filter out some content we don't need. To avoid it being
View Full Code Here

Examples of org.eclipse.core.resources.IFolder.createFilter()

                    FILE_FILTER_ID, res), 0, monitor);
        }

        // Let's filter out some content we don't need. To avoid it being
        // indexed
        repoLink.createFilter(IResourceFilterDescription.EXCLUDE_ALL
                | IResourceFilterDescription.FOLDERS | IResourceFilterDescription.INHERITABLE,
                new FileInfoMatcherDescription(FILE_FILTER_ID, "bin"), 0, monitor);
        repoLink.createFilter(IResourceFilterDescription.EXCLUDE_ALL
                | IResourceFilterDescription.FOLDERS, new FileInfoMatcherDescription(
                FILE_FILTER_ID, ".repo"), 0, monitor);
View Full Code Here

Examples of org.eclipse.core.resources.IFolder.createFilter()

        // Let's filter out some content we don't need. To avoid it being
        // indexed
        repoLink.createFilter(IResourceFilterDescription.EXCLUDE_ALL
                | IResourceFilterDescription.FOLDERS | IResourceFilterDescription.INHERITABLE,
                new FileInfoMatcherDescription(FILE_FILTER_ID, "bin"), 0, monitor);
        repoLink.createFilter(IResourceFilterDescription.EXCLUDE_ALL
                | IResourceFilterDescription.FOLDERS, new FileInfoMatcherDescription(
                FILE_FILTER_ID, ".repo"), 0, monitor);
        repoLink.createFilter(IResourceFilterDescription.EXCLUDE_ALL
                | IResourceFilterDescription.FOLDERS | IResourceFilterDescription.INHERITABLE,
                new FileInfoMatcherDescription(FILE_FILTER_ID, ".git"), 0, monitor);
View Full Code Here

Examples of org.eclipse.core.resources.IFolder.createFilter()

                | IResourceFilterDescription.FOLDERS | IResourceFilterDescription.INHERITABLE,
                new FileInfoMatcherDescription(FILE_FILTER_ID, "bin"), 0, monitor);
        repoLink.createFilter(IResourceFilterDescription.EXCLUDE_ALL
                | IResourceFilterDescription.FOLDERS, new FileInfoMatcherDescription(
                FILE_FILTER_ID, ".repo"), 0, monitor);
        repoLink.createFilter(IResourceFilterDescription.EXCLUDE_ALL
                | IResourceFilterDescription.FOLDERS | IResourceFilterDescription.INHERITABLE,
                new FileInfoMatcherDescription(FILE_FILTER_ID, ".git"), 0, monitor);
        // repoLink.createFilter(IResourceFilterDescription.EXCLUDE_ALL
        // | IResourceFilterDescription.FOLDERS, new FileInfoMatcherDescription(
        // FILE_FILTER_ID, "out"), 0, monitor);
View Full Code Here

Examples of org.eclipse.core.resources.IFolder.createFilter()

        // FILE_FILTER_ID, "out"), 0, monitor);
        final IFolder out = repoLink.getFolder("out");
        // Only allow target/common/R in the out folder
        final int filterFlags = IResourceFilterDescription.INCLUDE_ONLY
                | IResourceFilterDescription.FOLDERS | IResourceFilterDescription.FILES;
        out.createFilter(filterFlags, new FileInfoMatcherDescription(FILE_FILTER_ID, "target"), 0,
                monitor);

        final IFolder target = out.getFolder("target");
        target.createFilter(filterFlags, new FileInfoMatcherDescription(FILE_FILTER_ID, "common"),
                0, monitor);
View Full Code Here

Examples of org.eclipse.core.resources.IFolder.createFilter()

                | IResourceFilterDescription.FOLDERS | IResourceFilterDescription.FILES;
        out.createFilter(filterFlags, new FileInfoMatcherDescription(FILE_FILTER_ID, "target"), 0,
                monitor);

        final IFolder target = out.getFolder("target");
        target.createFilter(filterFlags, new FileInfoMatcherDescription(FILE_FILTER_ID, "common"),
                0, monitor);

        final IFolder common = target.getFolder("common");
        common.createFilter(filterFlags, new FileInfoMatcherDescription(FILE_FILTER_ID, "R"), 0,
                monitor);
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.