return null;
}
public static ApplicationStatus getApplicationStatus (StatusResource status){
if (status != null){
ApplicationStatus applicationStatus = new ApplicationStatus();
if (status.getState() == null || status.getState().equals("")){
status.setState("UNKNOWN");
}
applicationStatus.setApplicationState(status.getState());
applicationStatus.setTimeOfStateChange(status.getStatusUpdateTime().getTime());
return applicationStatus;
}
return null;
}