I
- the implementation specific issue typepublic interface IssueProvider<I>
Modifier and Type | Field and Description |
---|---|
static String |
EVENT_ISSUE_DATA_CHANGED
Issue data were changed.
|
static String |
EVENT_ISSUE_DELETED
Issue ceased to exist.
|
Modifier and Type | Method and Description |
---|---|
void |
addComment(I i,
String comment,
boolean close)
Add a comment to this issue and close it as fixed eventually.
|
void |
addPropertyChangeListener(I i,
PropertyChangeListener listener)
Add a PropertyChangeListener to the given issue.
|
void |
attachFile(I i,
File file,
String description,
boolean isPatch)
Attach a file to this issue.
|
IssueController |
getController(I i)
Returns a controller for the given issue.
|
String |
getDisplayName(I i)
Returns the display name for the given issue.
|
String |
getID(I i)
Returns the unique ID for the given issue.
|
Collection<String> |
getSubtasks(I i)
Returns the ID-s of all issues where this one could be considered
being superordinate to them.
|
String |
getSummary(I i)
Returns the summary for the given issue.
|
String |
getTooltip(I i)
Returns the tooltip for the given issue.
|
boolean |
isFinished(I i)
Determines if the issue is considered finished
in the means of the particular implementation
- e.g closed as fixed in case of bugzilla.
|
boolean |
isNew(I i)
Returns true if the issue isn't stored in a repository yet.
|
boolean |
refresh(I i)
Refreshes from the remote bugtracking repository the data for the given issue.
|
void |
removePropertyChangeListener(I i,
PropertyChangeListener listener)
Remove a PropertyChangeListener from the given issue.
|
static final String EVENT_ISSUE_DATA_CHANGED
static final String EVENT_ISSUE_DELETED
String getDisplayName(I i)
i
- an implementation specific issue instanceString getTooltip(I i)
i
- an implementation specific issue instanceString getID(I i)
i
- an implementation specific issue instanceCollection<String> getSubtasks(I i)
i
- an implementation specific issue instanceString getSummary(I i)
i
- an implementation specific issue instanceboolean isNew(I i)
i
- an implementation specific issue instancetrue
in case the given Issue exists only locally and wasn't submitted yet.boolean isFinished(I i)
i
- an implementation specific issue instancetrue
if finished, otherwise false
boolean refresh(I i)
In case an error appears during execution, the implementation should take care of the error handling, user notification etc.
i
- an implementation specific issue instancetrue
if the issue was refreshed, otherwise false
void addComment(I i, String comment, boolean close)
In case an error appears during execution, the implementation should take care of the error handling, user notification etc.
i
- an implementation specific issue instancecomment
- a comment to be added to the issueclose
- close the issue if true
void attachFile(I i, File file, String description, boolean isPatch)
In case an error appears during execution, the implementation should take care of the error handling, user notification etc.
Note that in case this functionality isn't available thenRepositoryProvider.canAttachFiles(java.lang.Object)
is expected to return false
i
- an implementation specific issue instancefile
- the to be attached filedescription
- description to be associated with the fileisPatch
- true
in case the given file is a patch, otherwise false
RepositoryProvider.canAttachFiles(java.lang.Object)
IssueController getController(I i)
i
- an implementation specific issue instancevoid removePropertyChangeListener(I i, PropertyChangeListener listener)
i
- an implementation specific issue instancelistener
- a PropertyChangeListenervoid addPropertyChangeListener(I i, PropertyChangeListener listener)
i
- an implementation specific issue instancelistener
- a PropertyChangeListener