Enum Class TicketMode

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

public enum TicketMode extends Enum<TicketMode>
How a Ticket advances between actions.
  • MANUAL (default) — the curator triggers each next action explicitly (e.g. clicks "run preload" on the ticket detail page after the previous action finishes).
  • AUTO — when a runner finishes with all targets in TicketTargetStatus.DONE and no recorded failures, the server schedules the next defined action automatically. The pipeline of "what comes next" is defined per-TicketType (e.g. PRELOAD → PROPOSE → REVIEW for a curation ticket).
The flip between modes is itself a curator action; flipping to AUTO mid-ticket schedules the next action immediately if the current step is already complete.
Author:
paul
  • Enum Constant Details

  • Method Details

    • values

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