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.1.428 useCause.UserIdCause
A build is started by an user action.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Cause
Cause.LegacyCodeCause, Cause.RemoteCause, Cause.UpstreamCause, Cause.UserCause, Cause.UserIdCause
-
-
Constructor Summary
Constructors Constructor Description UserCause()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object o)
Deprecated.String
getShortDescription()
Deprecated.One-line human-readable text of the cause.String
getUserName()
Deprecated.Gets user display name when possible.int
hashCode()
Deprecated.
-
-
-
Method Detail
-
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 customdescription.jelly
view for your subclass. See the documentation.- Specified by:
getShortDescription
in classCause
-
-