Package com.treescrub.spedran.data
Class RunStatus
- java.lang.Object
-
- com.treescrub.spedran.data.RunStatus
-
public class RunStatus extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<String>getExaminer()Gets the ID of the verifier.Optional<String>getReason()Gets the verifier supplied reason for rejection.SubmissionStatusgetStatus()Gets the submission status type.Optional<Instant>getVerifyDate()Gets the time that the run was verified.StringtoString()
-
-
-
Method Detail
-
getStatus
public SubmissionStatus getStatus()
Gets the submission status type.- Returns:
- a
SubmissionStatus
-
getExaminer
public Optional<String> getExaminer()
Gets the ID of the verifier.
Only exists if status isSubmissionStatus.VERIFIEDorSubmissionStatus.REJECTED.- Returns:
- an
Optionalwith the ID of the verifier - See Also:
User,Spedran.getUser(String)
-
getReason
public Optional<String> getReason()
Gets the verifier supplied reason for rejection.
Only exists if the status isSubmissionStatus.REJECTED.- Returns:
- the reason for rejection
-
-