Enum Class ScreeningResult
- All Implemented Interfaces:
Serializable, Comparable<ScreeningResult>, Constable
TicketTarget when screening it.
Deliberately generic and interpreted by the ticket's situation rather than fixed to one
workflow (Paul, 2026-08-29). On a "which experiments should we include" screen,
INCLUDE / REJECT mean admit / do not admit; on a ticket that forwards
experiments to some other process, the same three read as "yes, act" / "no, skip" /
"not yet decided". What the result then drives — a load, a blacklist entry, a re-run —
is not encoded here and not wired up in Gemma yet: the results are exported and CLI tools
take the action. This enum is only the recorded decision.
It is intentionally NOT coupled to TicketTargetStatus: a REJECT that means "does
not need this process" is not the same as the target being DONE, so the two are set
independently. null means nobody has screened this target yet — distinct from
UNDECIDED, which is a reviewer's recorded "looked, cannot resolve".
Not called a "triage" result on purpose — that word already names the audit verdict
(TriageVerdict: fine / wont_fix / might_fix / must_fix on an annotation set), a
different decision on a different thing.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic ScreeningResultReturns the enum constant of this class with the specified name.static ScreeningResult[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INCLUDE
Admit / accept / act on this target. -
REJECT
Do not admit / reject / this target needs no further action. -
UNDECIDED
Reviewed but could not be resolved — a curator or agent looked and could not decide.🛑 This is NOT the same state as
null.nullmeans nobody has looked yet;UNDECIDEDmeans someone looked and it is genuinely open. The curation store keeps these apart asundecided(never looked) vsunsure(reviewed, unresolved), and its own summary warns that folding them together hides exactly the rows a curator most needs to pick up. So an untouched target isnull, and a target a reviewer parked isUNDECIDED; do not default one to the other.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-