498499500501502503504505506
public void start() throws ManageException, OperationDisabledException { if (this.isOpsEnabled()) { start(WorkspaceConstants.STATE_STARTED); } else { throw new OperationDisabledException( "start is currently disabled"); } }
526527528529530531532533534
if (this.isOpsEnabled()) { this.handlePostTasks(tasks, false); this._shutdown(WorkspaceConstants.STATE_PROPAGATED); } else { throw new OperationDisabledException( "Shutdown is currently disabled"); } }
539540541542543544545546547
if (this.isOpsEnabled()) { this.handlePostTasks(tasks, true); this._shutdown(WorkspaceConstants.STATE_READY_FOR_TRANSPORT); } else { throw new OperationDisabledException( "ReadyForTransport (shutdown-save) is currently disabled"); } }
552553554555556557558559560
if (this.isOpsEnabled()) { this.handlePostTasks(tasks, false); this._shutdown(WorkspaceConstants.STATE_PAUSED); } else { throw new OperationDisabledException( "Pause is currently disabled"); } }
565566567568569570571572573
if (this.isOpsEnabled()) { this.handlePostTasks(tasks, false); this._shutdown(WorkspaceConstants.STATE_SERIALIZED); } else { throw new OperationDisabledException( "Serialize is currently disabled"); } }
578579580581582583584585586
if (this.isOpsEnabled()) { this.handlePostTasks(tasks, false); this._shutdown(WorkspaceConstants.STATE_REBOOT); } else { throw new OperationDisabledException( "Reboot is currently disabled"); } }