Package hudson.cli
Class BuildCommand.CLICause
java.lang.Object
hudson.model.Cause
hudson.model.Cause.UserIdCause
hudson.cli.BuildCommand.CLICause
- Enclosing class:
- BuildCommand
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Cause
Cause.LegacyCodeCause, Cause.RemoteCause, Cause.UpstreamCause, Cause.UserCause, Cause.UserIdCause
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
One-line human-readable text of the cause.int
hashCode()
void
print
(TaskListener listener) Report a line to the listener about this cause.Methods inherited from class hudson.model.Cause.UserIdCause
getUserId, getUserName, getUserUrl
-
Constructor Details
-
CLICause
public CLICause() -
CLICause
-
-
Method Details
-
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 customdescription.jelly
view for your subclass. See the documentation.- Overrides:
getShortDescription
in classCause.UserIdCause
-
print
Description copied from class:Cause
Report a line to the listener about this cause.- Overrides:
print
in classCause.UserIdCause
-
equals
- Overrides:
equals
in classCause.UserIdCause
-
hashCode
public int hashCode()- Overrides:
hashCode
in classCause.UserIdCause
-