Package com.volantis.mcs.eclipse.builder.common.policies

Examples of com.volantis.mcs.eclipse.builder.common.policies.GenericCreatePolicyConfiguration


    public void addPolicyBuilder(PolicyBuilder policy) throws RepositoryException {
        try {
            IFile policyFile = getFileFromPolicyName(policy.getName());
            standaloneAccessor.createPolicy(policyFile.getFullPath(), policy,
                new GenericCreatePolicyConfiguration(null));
        } catch (CoreException ce) {
            throw new RepositoryException(ce);
        } catch (PolicyFileAccessException pfae) {
            throw new RepositoryException(pfae);
        }
View Full Code Here


            final CreatePolicyConfiguration configuration;
            if (MCSProjectNature.getCollaborativeWorking(project)) {
                configuration = new CollaborativeCreatePolicyConfiguration(
                    null, creationPage.isInitiallyLocked());
            } else {
                configuration = new GenericCreatePolicyConfiguration(null);
            }
            newPolicy = (IFile) accessor.createPolicy(newPolicyPath,
                                policyBuilder, configuration);
            if (newPolicy == null) {
                // the policy could not be created because it already exists,
View Full Code Here

TOP

Related Classes of com.volantis.mcs.eclipse.builder.common.policies.GenericCreatePolicyConfiguration

Copyright © 2018 www.massapicom. 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.