Enum Class TileAnimation

java.lang.Object
java.lang.Enum<TileAnimation>
io.jenkins.plugins.livewall.TileAnimation
All Implemented Interfaces:
WallOption, Serializable, Comparable<TileAnimation>, Constable

public enum TileAnimation extends Enum<TileAnimation> implements WallOption
How a tile signals that its job is building right now.

All of these are suppressed when the viewer's browser reports prefers-reduced-motion: reduce; the tile then falls back to a static in-progress edge.

  • Enum Constant Details

    • PROGRESS

      public static final TileAnimation PROGRESS
      Fills the tile left-to-right in step with the estimated duration. Falls back to indeterminate stripes once a build overruns its estimate.
    • SWEEP

      public static final TileAnimation SWEEP
      A light beam sweeping across the tile.
    • STRIPES

      public static final TileAnimation STRIPES
      Barber-pole diagonal stripes.
    • PULSE

      public static final TileAnimation PULSE
      Slow brightness pulse.
    • NONE

      public static final TileAnimation NONE
      No motion at all, just a marked edge.
  • Method Details

    • values

      public static TileAnimation[] 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 TileAnimation 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
    • getId

      @NonNull public String getId()
      Description copied from interface: WallOption
      Stable, lowercase, kebab-case id. Persisted in config.xml and emitted into the markup.
      Specified by:
      getId in interface WallOption
    • getDisplayName

      @NonNull public String getDisplayName()
      Description copied from interface: WallOption
      Label shown in the view configuration form, where there is room to explain the choice.
      Specified by:
      getDisplayName in interface WallOption