Package com.sos.scheduler.model.answers

Examples of com.sos.scheduler.model.answers.HistoryEntry


        if(objHistoryEntries.size() == 0) {
          logger.error(String.format("no history entry found for %1$s", strJobName));
          throw new JobSchedulerException(String.format("no history entry found for %1$s", strJobName));
        }
        else {
          HistoryEntry objHistoryEntry = objHistoryEntries.get(0);
          String strErrorText = objHistoryEntry.getErrorText();
          String strEndTime = objHistoryEntry.getEndTime();
          Date objDateEndTime = SOSDate.getDate(strEndTime, SOSDate.dateTimeFormat);       
          boolean flgRunSuccessful = isEmpty(strErrorText);
          boolean flgRunTooLate = objDateEndTime.before(objDateStartTime);
         
          if(flgRunTooLate || !flgRunSuccessful ) {
View Full Code Here

TOP

Related Classes of com.sos.scheduler.model.answers.HistoryEntry

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.