Examples of reviewProfileChangeAction()


Examples of org.wso2.carbon.component.mgt.core.profile.ProfileModificationAction.reviewProfileChangeAction()

            profModificationAction.setIusToUninstall(profileIUs);

            //This is required for revert operations.
            profModificationAction.setTimestamp(provActionInfo.getTimestamp());
            //Review the profile modifiation operation
            ResolutionResult resolutionResult = profModificationAction.reviewProfileChangeAction(
                    ProvisioningUtils.getProfile());
            //Wrap ResolutionResult so that it can be send through the wire.
            provisioningActionResultInfo = ProvWSUtils.wrapResolutionResult(resolutionResult);

            int severity = resolutionResult.getSummaryStatus().getSeverity();
View Full Code Here

Examples of org.wso2.carbon.component.mgt.core.profile.ProfileModificationAction.reviewProfileChangeAction()

                    ProfileModificationActionFactory.getProfileModificationAction(
                            ProfileModificationActionFactory.REVERT_ACTION);

            for (long timestamp : timestamps) {
                profModificationAction.setTimestamp(timestamp);
                ResolutionResult resolutionResult = profModificationAction.reviewProfileChangeAction(
                        ProvisioningUtils.getProfile());

                if (resolutionResult.getReviewedInstallableUnits() != null) {
                    installableFeatures = resolutionResult.getReviewedInstallableUnits().length;
                }
View Full Code Here

Examples of org.wso2.carbon.component.mgt.core.profile.ProfileModificationAction.reviewProfileChangeAction()

        ProfileModificationAction profModificationAction =
                ProfileModificationActionFactory.getProfileModificationAction(
                        ProfileModificationActionFactory.UNINSTALL_ACTION);
        profModificationAction.setIusToUninstall(iusToUninstall.toArray(new IInstallableUnit[iusToUninstall.size()]));

        ResolutionResult resolutionResult = profModificationAction.reviewProfileChangeAction(
                ProvisioningUtils.getProfile());
        ProvisioningUtils.performProvisioningAction(resolutionResult);

        //Installing server, console and common features depending on the action
        profModificationAction =
View Full Code Here

Examples of org.wso2.carbon.component.mgt.core.profile.ProfileModificationAction.reviewProfileChangeAction()

        profModificationAction =
                ProfileModificationActionFactory.getProfileModificationAction(
                        ProfileModificationActionFactory.INSTALL_ACTION);
        profModificationAction.setIusToInstall(iusToInstall.toArray(new IInstallableUnit[iusToInstall.size()]));

        resolutionResult = profModificationAction.reviewProfileChangeAction(
                ProvisioningUtils.getProfile());
        ProvisioningUtils.performProvisioningAction(resolutionResult);
    }

    private void handleException(String msg, String faultCode, Exception e) throws AxisFault {
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.