Package hudson.cli

Class BuildCommand.CLICause

Enclosing class:
BuildCommand

public static class BuildCommand.CLICause extends Cause.UserIdCause
  • Constructor Details

    • CLICause

      public CLICause()
    • CLICause

      public CLICause(String startedBy)
  • Method Details

    • getShortDescription

      public String getShortDescription()
      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.
      Overrides:
      getShortDescription in class Cause.UserIdCause
    • print

      public void print(TaskListener listener)
      Description copied from class: Cause
      Report a line to the listener about this cause.
      Overrides:
      print in class Cause.UserIdCause
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Cause.UserIdCause