Enum Class AutoTracer.SeedRole

java.lang.Object
java.lang.Enum<AutoTracer.SeedRole>
sc.fiji.snt.tracing.auto.AutoTracer.SeedRole
All Implemented Interfaces:
Serializable, Comparable<AutoTracer.SeedRole>, java.lang.constant.Constable
Enclosing interface:
AutoTracer

public static enum AutoTracer.SeedRole extends Enum<AutoTracer.SeedRole>
Role a SeedPoint plays in a tracing run. Tracers honor the subset they implement (see AutoTracer.honoredSeedRoles()) and silently ignore the rest. The role list is intentionally small; new roles can be added without breaking existing implementors because each role maps to its own default-method setter.
  • Enum Constant Details

    • ROOT

      public static final AutoTracer.SeedRole ROOT
      Starting point: tree grows outward from here.
    • TIP

      public static final AutoTracer.SeedRole TIP
      Target / endpoint: trace toward this point.
    • WAYPOINT

      public static final AutoTracer.SeedRole WAYPOINT
      Intermediate constraint: path should pass through / near this.
  • Method Details

    • values

      public static AutoTracer.SeedRole[] 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 AutoTracer.SeedRole 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