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 boolean
equals(Object o)
String
getShortDescription()
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 Detail
-
CLICause
public CLICause()
-
CLICause
public CLICause(String startedBy)
-
-
Method Detail
-
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 customdescription.jelly
view for your subclass. See the documentation.- Overrides:
getShortDescription
in classCause.UserIdCause
-
print
public void print(TaskListener listener)
Description copied from class:Cause
Report a line to the listener about this cause.- Overrides:
print
in classCause.UserIdCause
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classCause.UserIdCause
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classCause.UserIdCause
-
-