Package services.publix
Class PublixHelpers
- java.lang.Object
-
- services.publix.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 booleancomponentDone(ComponentResult componentResult)True if ComponentResult's state is in FINISHED or ABORTED or FAIL or RELOADED.static booleanfinishedStudyAlready(Worker worker, Study study)Checks if the worker finished this study already at least once.static booleanisPreviewWorker(Worker worker)static booleanstudyDone(StudyResult studyResult)True if StudyResult's state is in FINISHED or ABORTED or FAIL.
-
-
-
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)
-
-