Package hudson.model

Class Cause.UserCause

java.lang.Object
hudson.model.Cause
hudson.model.Cause.UserCause
Enclosing class:
Cause

@Deprecated public static class Cause.UserCause extends Cause
Deprecated.
A build is started by an user action.
  • Constructor Details

    • UserCause

      public UserCause()
      Deprecated.
  • Method Details

    • getUserName

      @Exported(visibility=3) public String getUserName()
      Deprecated.
      Gets user display name when possible.
      Returns:
      User display name. If the User does not exist, returns its ID.
    • getShortDescription

      public String getShortDescription()
      Deprecated.
      Description copied from class: Cause
      One-line human-readable text of the cause. Historically, this method's return value was used to render HTML on the UI as well. Since Jenkins 2.315 and 2.303.2, the return value is interpreted as text. To have rich HTML output on the UI, provide a custom description.jelly view for your subclass. See the documentation.
      Specified by:
      getShortDescription in class Cause
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object