Enum Class TicketTargetStatus

java.lang.Object
java.lang.Enum<TicketTargetStatus>
ubic.gemma.model.common.auditAndSecurity.curation.TicketTargetStatus
All Implemented Interfaces:
Serializable, Comparable<TicketTargetStatus>, Constable

public enum TicketTargetStatus extends Enum<TicketTargetStatus>
Per-target progress through a Ticket's work. Tracks one TicketTarget's lifecycle independently of the parent Ticket's TicketState so a multi-target ticket can render a status roll-up rather than committing the whole ticket as resolved when only some targets are complete.
  • NOT_DONE — initial state; the curator (or runner) hasn't touched this target yet.
  • UNDERWAY — work has started on this target. Set by runners when an async action begins, and by a curation commit on the target dataset: an edit is evidence somebody started the ask, never that they finished it. The UI renders this as a spinner / in-flight badge.
  • DONE — the ask was done, decided or finished (Paul, 2026-09-05). The parent ticket can advance to TicketState.RESOLVED when all targets are DONE (or earlier, at curator discretion).

    🛑 Only a person sets this. It used to read "the per-target work the ticket required is committed", and on that reading advanceLinkedCurationTickets moved a target straight to DONE on any commit — which asserts that the commit WAS the required work. It need not be: it may be unrelated to the ask, partial, or a test edit. Two commits made to exercise a lock comparison closed a target on the reference-500 queue on 2026-09-05, and the revert did not reopen it. That path now sets UNDERWAY.

Author:
paul
  • Enum Constant Details

  • Method Details

    • values

      public static TicketTargetStatus[] 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

      public static TicketTargetStatus valueOf(String name)
      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 name
      NullPointerException - if the argument is null