|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Allows for editing of an issue. The only parts that can't be edited are the ID and type, since those uniquely identify the issue at hand. Editing an issue has several constraints that should be known by the user:
Method Summary | |
void |
commit()
Commits all changes from the issue to the tracker. |
IEditableAttributeSet |
getEditableAttributes()
This is a synonymn for getAttributes(), but this explicitly sets the returned value as an editable set, without the need for an extra cast. |
IEditableIssueState[] |
getNextStates()
Returns the list of all states that this issue can move to next. |
boolean |
hasShortDescriptionChanged()
|
boolean |
hasStateChanged()
|
void |
setShortDescription(java.lang.String desc)
|
void |
setState(IIssueState state)
Sets the current state. |
Methods inherited from interface net.sourceforge.groboutils.pmti.v1.IIssue |
getAttributes, getID, getShortDescription, getState, getType, reload |
Method Detail |
public void setShortDescription(java.lang.String desc)
public boolean hasShortDescriptionChanged()
public IEditableIssueState[] getNextStates()
public void setState(IIssueState state) throws ProblemManagerException
ProblemManagerException
- if the input state is not a valid
next state.public boolean hasStateChanged()
public IEditableAttributeSet getEditableAttributes()
public void commit() 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 |