hudson.model
Class Cause.UserIdCause

java.lang.Object
  extended by hudson.model.Cause
      extended by hudson.model.Cause.UserIdCause
Direct Known Subclasses:
BuildCommand.CLICause
Enclosing class:
Cause

public static class Cause.UserIdCause
extends Cause

A build is started by an user action.

Since:
1.427

Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.model.Cause
Cause.LegacyCodeCause, Cause.RemoteCause, Cause.UpstreamCause, Cause.UserCause, Cause.UserIdCause
 
Constructor Summary
Cause.UserIdCause()
           
 
Method Summary
 boolean equals(Object o)
           
 String getShortDescription()
          One-line human-readable text of the cause.
 String getUserId()
           
 String getUserName()
           
 int hashCode()
           
 void print(TaskListener listener)
          Report a line to the listener about this cause.
 
Methods inherited from class hudson.model.Cause
onAddedTo
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Cause.UserIdCause

public Cause.UserIdCause()
Method Detail

getUserId

@Exported(visibility=3)
public String getUserId()

getUserName

@Exported(visibility=3)
public String getUserName()

getShortDescription

public String getShortDescription()
Description copied from class: Cause
One-line human-readable text of the cause.

By default, this method is used to render HTML as well.

Specified by:
getShortDescription in class Cause

print

public void print(TaskListener listener)
Description copied from class: Cause
Report a line to the listener about this cause.

Overrides:
print in class Cause

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2004-2013. All Rights Reserved.