Examples of include()


Examples of com.graphaware.common.policy.NodeInclusionPolicy.include()

            assertFalse(policy3.include(michal()));
            assertTrue(policy3.include(graphaware()));
            assertFalse(policy3.include(vojta()));
            assertFalse(policy3.include(london()));

            assertFalse(policy4.include(michal()));
            assertTrue(policy4.include(graphaware()));
            assertFalse(policy4.include(vojta()));
            assertFalse(policy4.include(london()));

            tx.success();
View Full Code Here

Examples of com.graphaware.common.policy.NodePropertyInclusionPolicy.include()

        try (Transaction tx = database.beginTx()) {
            assertFalse(policy1.include("name", michal()));
            assertFalse(policy1.include("name", vojta()));

            assertTrue(policy2.include("name", michal()));
            assertFalse(policy2.include("name", vojta()));
            assertFalse(policy2.include("name", graphaware()));

            tx.success();
        }
View Full Code Here

Examples of com.graphaware.common.policy.RelationshipPropertyInclusionPolicy.include()

            assertFalse(policy1.include("since", vojtaWorksFor()));
            assertFalse(policy1.include("since", michalWorksFor()));
            assertTrue(policy1.include("until", michalWorksFor()));
            assertTrue(policy1.include("until", vojtaWorksFor()));

            assertTrue(policy2.include("since", michalWorksFor()));
            assertFalse(policy2.include("since", michalLivesIn()));
            assertTrue(policy2.include("since", vojtaWorksFor()));
            assertFalse(policy2.include("since", vojtaLivesIn()));

            tx.success();
View Full Code Here

Examples of com.liferay.portlet.PortletRequestDispatcherImpl.include()

    try {
      if (prd == null) {
        _log.error(uri + " is not a valid include");
      }
      else {
        prd.include(renderRequest, renderResponse, true);
      }
    }
    catch (PortletException pe) {
      Throwable cause = pe.getCause();
View Full Code Here

Examples of com.netflix.governator.annotations.Modules.include()

        private List<Class<? extends Module>> getIncludeList() {
            // Look for @Modules(includes={..})
            Builder<Class<? extends Module>> builder = ImmutableList.<Class<? extends Module>>builder();
            if (type != null) {
                Modules annot = type.getAnnotation(Modules.class);
                if (annot != null && annot.include() != null) {
                    builder.add(annot.include());
                }
               
                // Look for injected modules
                for (Dependency<?> dep : InjectionPoint.forConstructorOf(type).getDependencies()) {
View Full Code Here

Examples of com.netflix.governator.annotations.Modules.include()

            // Look for @Modules(includes={..})
            Builder<Class<? extends Module>> builder = ImmutableList.<Class<? extends Module>>builder();
            if (type != null) {
                Modules annot = type.getAnnotation(Modules.class);
                if (annot != null && annot.include() != null) {
                    builder.add(annot.include());
                }
               
                // Look for injected modules
                for (Dependency<?> dep : InjectionPoint.forConstructorOf(type).getDependencies()) {
                    Class<?> depType = dep.getKey().getTypeLiteral().getRawType();
View Full Code Here

Examples of com.opensymphony.xwork2.util.finder.UrlSet.include()

    }

    private UrlSet buildUrlSet(List<URL> resourceUrls) throws IOException {
        ClassLoaderInterface classLoaderInterface = getClassLoaderInterface();
        UrlSet urlSet = new UrlSet(resourceUrls);
        urlSet = urlSet.include(new UrlSet(classLoaderInterface, this.fileProtocols));

        //excluding the urls found by the parent class loader is desired, but fails in JBoss (all urls are removed)
        if (excludeParentClassLoader) {
            //exclude parent of classloaders
            ClassLoaderInterface parent = classLoaderInterface.getParent();
View Full Code Here

Examples of com.volantis.mcs.eclipse.common.odom.ODOMSelectionFilter.include()

     * @return an ODOMSelectionManager
     */
    protected ODOMSelectionManager createSelectionManager(ODOMElement observe) {
        ODOMSelectionFilter filter = new ODOMSelectionFilter(null, null,
                new ODOMSelectionFilterConfiguration(true, false));
        filter.include(observe);
        return new ODOMSelectionManager(filter);
    }

    /**
     * Test the swap action command. This creates a document performs the swap
View Full Code Here

Examples of edu.brown.workload.filters.ProcParameterValueFilter.include()

           
            File file = this.getWorkloadFile(ProjectType.TPCC);
            workload = new Workload(catalogContext.catalog);
            ProcParameterValueFilter filter = new ProcParameterValueFilter().include(1, TARGET_DISTRICT_ID);
            for (int w_id : TARGET_WAREHOUSES) {
                filter.include(0, w_id);
            } // FOR
            ProcedureNameFilter procFilter = new ProcedureNameFilter(false);
            for (Class<? extends VoltProcedure> procClass : TARGET_PROCEDURES) {
                procFilter.include(procClass.getSimpleName(), WORKLOAD_XACT_LIMIT);
            } // FOR
View Full Code Here

Examples of edu.brown.workload.filters.ProcedureNameFilter.include()

        assertFalse(vpc.isUpdateApplied());

        // Create a filter that only has the procedures that will be optimized by our VerticalPartitionColumn
        ProcedureNameFilter filter = new ProcedureNameFilter(false);
        for (Statement catalog_stmt : vpc.getOptimizedQueries()) {
            filter.include(catalog_stmt.getParent().getName(), 1);
        } // FOR
       
        // Calculate the cost *BEFORE* applying the vertical partition optimization
        double expected_cost = costModel.estimateWorkloadCost(clone_catalogContext, workload, filter, null);
        System.err.println("ORIGINAL COST: " + expected_cost);
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.