Examples of RuntimeProjectBuilder


Examples of com.volantis.mcs.runtime.RuntimeProjectBuilder

    }

    // Javadoc inherited.
    public RuntimeProject createGlobalProject(
            RuntimePolicySourceFactory policySourceFactory) {
        RuntimeProjectBuilder builder = new RuntimeProjectBuilder();
        builder.setPolicySource(policySourceFactory.createRemotePolicySource(
                ""));
        builder.setCacheControlDefaultsMap(remoteConstraintsMap);
        builder.setRemote(true);
        builder.setContainsOrphans(true);
        RuntimeProject project = builder.getProject();
        return project;
    }
View Full Code Here

Examples of com.volantis.mcs.runtime.RuntimeProjectBuilder

    public RuntimeProject buildProject(
            RuntimeProjectConfiguration configuration,
            RuntimeProject baseProject,
            RuntimePolicySourceFactory policySourceFactory) {

        RuntimeProjectBuilder builder =
                new RuntimeProjectBuilder();
        configureBuilder(builder, configuration, policySourceFactory);
        builder.setBaseProject(baseProject);

        initialiseProjectCache(configuration, builder);

        return builder.getProject();
    }
View Full Code Here

Examples of com.volantis.mcs.runtime.RuntimeProjectBuilder

                final RuntimeProjectConfiguration configuration,
                final Map namedProjects)
                throws ConfigurationException {

            // If we were asked to preload the local repository...
            RuntimeProjectBuilder builder =
                    new RuntimeProjectBuilder();
            builder.setPreload(Boolean.TRUE.equals(
                    configuration.getPreload()));

            List dependencyPath = Collections.singletonList("<default>");

            initialiseProjectBuilder(configuration, dependencyPath, builder, namedProjects);

            // This project contains those pages that are local and do not belong
            // to another project.
            builder.setContainsOrphans(true);

            return builder.getProject();
        }
View Full Code Here

Examples of com.volantis.mcs.runtime.RuntimeProjectBuilder

            }

            // Remember that this project is being built.
            namedProjects.put(name, PROJECT_PENDING);

            RuntimeProjectBuilder builder = new RuntimeProjectBuilder();
            builder.setName(name);

            initialiseProjectBuilder(configuration, dependencyPath, builder, namedProjects);

            // Add the configuration to the map
            RuntimeProject predefined = builder.getProject();
            namedProjects.put(name, predefined);

            return predefined;
        }
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.