Package org.nimbustools.api.services.rm

Examples of org.nimbustools.api.services.rm.OperationDisabledException


    public void start() throws ManageException, OperationDisabledException {
        if (this.isOpsEnabled()) {
            start(WorkspaceConstants.STATE_STARTED);
        } else {
            throw new OperationDisabledException(
                                    "start is currently disabled");
        }
    }
View Full Code Here


        if (this.isOpsEnabled()) {
            this.handlePostTasks(tasks, false);
            this._shutdown(WorkspaceConstants.STATE_PROPAGATED);
        } else {
            throw new OperationDisabledException(
                    "Shutdown is currently disabled");
        }
    }
View Full Code Here

        if (this.isOpsEnabled()) {
            this.handlePostTasks(tasks, true);
            this._shutdown(WorkspaceConstants.STATE_READY_FOR_TRANSPORT);
        } else {
            throw new OperationDisabledException(
                    "ReadyForTransport (shutdown-save) is currently disabled");
        }
    }
View Full Code Here

        if (this.isOpsEnabled()) {
            this.handlePostTasks(tasks, false);
            this._shutdown(WorkspaceConstants.STATE_PAUSED);
        } else {
            throw new OperationDisabledException(
                    "Pause is currently disabled");
        }
    }
View Full Code Here

        if (this.isOpsEnabled()) {
            this.handlePostTasks(tasks, false);
            this._shutdown(WorkspaceConstants.STATE_SERIALIZED);
        } else {
            throw new OperationDisabledException(
                    "Serialize is currently disabled");
        }
    }
View Full Code Here

        if (this.isOpsEnabled()) {
            this.handlePostTasks(tasks, false);
            this._shutdown(WorkspaceConstants.STATE_REBOOT);
        } else {
            throw new OperationDisabledException(
                    "Reboot is currently disabled");
        }
    }
View Full Code Here

TOP

Related Classes of org.nimbustools.api.services.rm.OperationDisabledException

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.