Class PublixHelpers


  • public class PublixHelpers
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      PublixHelpers()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean componentDone​(ComponentResult componentResult)
      True if ComponentResult's state is in FINISHED or ABORTED or FAIL or RELOADED.
      static boolean finishedStudyAlready​(Worker worker, Study study)
      Checks if the worker finished this study already at least once.
      static boolean isPreviewWorker​(Worker worker)  
      static boolean studyDone​(StudyResult studyResult)
      True if StudyResult's state is in FINISHED or ABORTED or FAIL.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PublixHelpers

        public PublixHelpers()
    • Method Detail

      • finishedStudyAlready

        public static boolean finishedStudyAlready​(Worker worker,
                                                   Study study)
        Checks if the worker finished this study already at least once. 'Finished' includes failed and aborted.
      • studyDone

        public static boolean studyDone​(StudyResult studyResult)
        True if StudyResult's state is in FINISHED or ABORTED or FAIL. False otherwise.
      • componentDone

        public static boolean componentDone​(ComponentResult componentResult)
        True if ComponentResult's state is in FINISHED or ABORTED or FAIL or RELOADED. False otherwise.
      • isPreviewWorker

        public static boolean isPreviewWorker​(Worker worker)