Package hudson.cli
Class BuildCommand.CLICause
- java.lang.Object
-
- hudson.model.Cause
-
- hudson.model.Cause.UserIdCause
-
- hudson.cli.BuildCommand.CLICause
-
- Enclosing class:
- BuildCommand
public static class BuildCommand.CLICause extends Cause.UserIdCause
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Cause
Cause.LegacyCodeCause, Cause.RemoteCause, Cause.UpstreamCause, Cause.UserCause, Cause.UserIdCause
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetShortDescription()One-line human-readable text of the cause.inthashCode()voidprint(TaskListener listener)Report a line to the listener about this cause.-
Methods inherited from class hudson.model.Cause.UserIdCause
getUserId, getUserName, getUserUrl
-
-
-
-
Constructor Detail
-
CLICause
public CLICause()
-
CLICause
public CLICause(String startedBy)
-
-
Method Detail
-
getShortDescription
public String getShortDescription()
Description copied from class:CauseOne-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 customdescription.jellyview for your subclass. See the documentation.- Overrides:
getShortDescriptionin classCause.UserIdCause
-
print
public void print(TaskListener listener)
Description copied from class:CauseReport a line to the listener about this cause.- Overrides:
printin classCause.UserIdCause
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classCause.UserIdCause
-
hashCode
public int hashCode()
- Overrides:
hashCodein classCause.UserIdCause
-
-