|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Reflects an issue (or bug, or anomally report, or problem ticket) that is generic enough to be used by most problem tracker system. All IIssue instances are immutable, unless they also implement IEditableIssue.
An issue will only reflect the data associated with the issue at the time of the polling of the issue from the tracker. Currently, the only way to update the issue's data fields is to re-poll the issue from the ProblemManager, or to call reload(). Individual implemenations of the PMTI framework may provide alternative means to real-time update the issue data, but that is not the standard implementation.
Containment patterns would require the creation methods for an editable form of the issue to be in this interface. For security reasons, this method is placed in the ProblemManager interface instead.
NOTE: this interface may be too generic to be useful.
Method Summary | |
IAttributeSet |
getAttributes()
Returns a list of all attributes associated with this issue. |
java.lang.String |
getID()
Returns the unique ID associated with this issue. |
java.lang.String |
getShortDescription()
Retrieves the short description of the issue. |
IIssueState |
getState()
Queries the "state" of the issue. |
java.lang.String |
getType()
Returns the type of issue. |
IIssue |
reload()
Returns a new issue instance, containing the most up-to-date tracker information for this issue. |
Method Detail |
public java.lang.String getID()
public java.lang.String getType()
NOTE: this field may be deprecated in the future in favor of specific IAttributeSet types.
getAttributes()
public java.lang.String getShortDescription()
public IIssueState getState()
Some trackers may have different state categories for different issue types.
public IAttributeSet getAttributes()
public IIssue reload() throws ProblemManagerException
In theory, issues should never be removed. However, some systems allow them to be deleted (say, if there was an accidental creation). In this case, an IssueRemovedException will be thrown.
ProblemManagerException
- if there was an underlying tracker
error.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |