|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjetbrains.buildServer.serverSide.userChanges.CanceledInfo
public class CanceledInfo
Contains information about canceled build
| Constructor Summary | |
|---|---|
CanceledInfo(long userId,
java.lang.String comment)
Constructor for builds cancelled by a user |
|
CanceledInfo(java.lang.String comment)
Constructor for builds cancelled by the system |
|
| Method Summary | |
|---|---|
java.lang.String |
getComment()
Returns cancellation comment |
long |
getCreatedAt()
Returns the timestamp when this object was created |
java.lang.Long |
getUserId()
Returns id of the user who cancelled the build or null if build was not cancelled by a user |
boolean |
isCanceledByUser()
Returns true if build was cancelled by a user |
boolean |
isOutdated()
Returns true if this object was created (build was canceled) more than 5 minutes ago |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CanceledInfo(long userId,
java.lang.String comment)
userId - id of the user who cancelled the buildcomment - commentpublic CanceledInfo(java.lang.String comment)
comment - comment| Method Detail |
|---|
public java.lang.String getComment()
public java.lang.Long getUserId()
public boolean isCanceledByUser()
public long getCreatedAt()
public boolean isOutdated()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||