use of org.ow2.proactive_grid_cloud_portal.scheduler.dto.SchedulerStatusData in project scheduling by ow2-proactive.
the class SchedulerClient method getStatus.
@Override
public SchedulerStatus getStatus() throws NotConnectedException, PermissionException {
SchedulerStatus status = null;
try {
SchedulerStatusData schedulerStatus = restApi().getSchedulerStatus(sid);
status = SchedulerStatus.valueOf(schedulerStatus.name());
} catch (Exception e) {
throwNCEOrPE(e);
}
return status;
}
Aggregations