|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kohsuke.jnt.JNIssue.Item<JNIssue.Activity>
org.kohsuke.jnt.JNIssue.Activity
public abstract class JNIssue.Activity
Constructor Summary | |
---|---|
JNIssue.Activity()
|
Method Summary | |
---|---|
abstract JNUser |
getAuthor()
Gets the user who performed this activity. |
IssueStatus |
getCurrentStatus()
Gets the status of the issue right after this activity. |
abstract IssueField |
getField()
Gets the field that has changed. |
abstract String |
getNewValue()
New value after the change. |
abstract String |
getOldValue()
Old value before the change. |
abstract Calendar |
getTimestamp()
Gets the timestamp when this item was created. |
boolean |
isUpdate()
Returns true if this activity is an update activity and not the creation activity. |
Methods inherited from class org.kohsuke.jnt.JNIssue.Item |
---|
compareTo, getAge, getNext, getParent, getPrev |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JNIssue.Activity()
Method Detail |
---|
public abstract JNUser getAuthor()
getAuthor
in class JNIssue.Item<JNIssue.Activity>
public abstract Calendar getTimestamp()
JNIssue.Item
getTimestamp
in class JNIssue.Item<JNIssue.Activity>
public abstract IssueField getField()
public abstract String getOldValue()
public abstract String getNewValue()
IssueStatus.valueOf(String)
,
IssueResolution.valueOf(String)
, IssueType.valueOf(String)
,
and Priority.valueOf(String)
.
public boolean isUpdate()
public IssueStatus getCurrentStatus()
That is, if this activity updates the status, this method returns that value, and otherwise it returns the status of the issue when the activity happened.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |