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.UserIdCauseA 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 booleanequals(Object o)Deprecated.StringgetShortDescription()Deprecated.One-line human-readable text of the cause.StringgetUserName()Deprecated.Gets user display name when possible.inthashCode()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: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.- Specified by:
getShortDescriptionin classCause
-
-