|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kohsuke.jnt.JNIssue
public final class JNIssue
An issue.
Nested Class Summary | |
---|---|
class |
JNIssue.Activity
|
class |
JNIssue.CreationActivity
|
class |
JNIssue.Description
A comment added to an issue. |
class |
JNIssue.Item<T extends JNIssue.Item>
|
class |
JNIssue.UpdateActivity
|
Method Summary | |
---|---|
String |
_getPlatform()
|
IssueEditor |
beginEdit()
Begins updating an issue. |
List<JNIssue.Activity> |
getActivities()
Gets the activities of issues. |
String |
getAssignedTo()
Gets the current person assigned to the issue. |
String |
getComponent()
|
Calendar |
getCreationDate()
Gets the timestamp when this issue was created. |
List<JNIssue.Description> |
getDescriptions()
Gets the description of issues (AKA "additional comments") |
int |
getId()
Gets the issue ID. |
Calendar |
getLastModified()
Gets the last modified date of this issue. |
Priority |
getPriority()
Gets the priority of this issue. |
JNProject |
getProject()
Gets the project that this issue is filed for. |
org.dom4j.Element |
getRawData()
Returns the raw XML data that describes this issue. |
JNUser |
getReporter()
Gets the reporter of this issue. |
IssueResolution |
getResolution()
Gets the resolution of this issue. |
String |
getShortDescription()
Gets the short description of this issue. |
IssueStatus |
getStatus()
Gets the current status of this issue. |
String |
getStatusWhiteboard()
Gets the 'status whiteboard' text, or null if not set. |
String |
getSubComponent()
|
IssueType |
getType()
Gets the type of the issue. |
IssueVersion |
getVersion()
Gets the version to which this issue belongs to. |
int |
getVotes()
Gets the number of votes on this issue. |
void |
save(OutputStream out)
Persists this issue to the disk. |
void |
update(String comment)
Update the issue by just posting a comment. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public org.dom4j.Element getRawData()
See https://javanettasks.dev.java.net/issues/issuezilla.dtd for the format.
public int getId()
public JNProject getProject()
public Priority getPriority()
public String getShortDescription()
public JNUser getReporter()
public String getAssignedTo()
This can be an user name or an alias name, like "issues@hudson". It's not clear exactly what's allowed and what's not.
public IssueStatus getStatus()
public String getStatusWhiteboard()
public IssueResolution getResolution()
public IssueVersion getVersion()
public String _getPlatform()
public String getComponent()
public String getSubComponent()
public int getVotes()
public IssueType getType()
public Calendar getLastModified()
public Calendar getCreationDate()
public List<JNIssue.Description> getDescriptions()
This also includes the initial bug report, which is the first element.
public List<JNIssue.Activity> getActivities()
The first activity is always JNIssue.CreationActivity
indicating the creation of this issue.
public void save(OutputStream out) throws IOException
IOException
JNIssueTracker.load(int, InputStream)
public void update(String comment) throws ProcessingException
ProcessingException
public IssueEditor beginEdit()
IssueEditor
for more details. You make a bunch of edits through
IssueEditor
, then submit it via IssueEditor.commit(String)
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |