Package hudson.slaves

Class OfflineCause.UserCause

All Implemented Interfaces:
IOfflineCause
Direct Known Subclasses:
OfflineCause.ByCLI
Enclosing class:
OfflineCause

public static class OfflineCause.UserCause extends OfflineCause.SimpleOfflineCause
Taken offline by user.
Since:
1.551
  • Constructor Details

    • UserCause

      public UserCause(@CheckForNull User user, @CheckForNull String message)
  • Method Details

    • getUser

      public User getUser()
    • getMessage

      public String getMessage()
      Returns:
      the message that was provided when the computer was taken offline
    • getComputerIcon

      @NonNull public String getComputerIcon()
      Returns:
      The icon to use for the computer that has this offline cause. It will be displayed in the build executor status widget, as well as in nodes list screen.
    • getComputerIconAltText

      @NonNull public String getComputerIconAltText()
      Returns:
      The alt text for the icon returned by IOfflineCause.getComputerIcon().
    • getIcon

      @NonNull public String getIcon()
      Returns:
      The icon to render this offline cause. It will be displayed in the build executor status widget.