public interface IssueTrackingProfile
name
will be provided to the user when creating such a profile. It acts as a factory for issues.
NOTE: Use IssueTrackingProfile to enabling a generic configuration GUI| Modifier and Type | Method and Description |
|---|---|
void |
fieldChanged(IssueTrackingField field)
Called when a field with dependent fields has changed
to reload the options of those dependent fields.
|
Issue |
getIssue(java.lang.String id)
Get the issue with the given identifier.
|
ProductsIssueStatisticEntry[] |
getIssueStatistics()
Get
Statistics about the issues. |
java.lang.String |
getName()
This name will be shown to the user (when selecting a special profile implementation) AND it will be
used internally.
|
java.lang.String[] |
getPossibleStates() |
java.lang.String[][] |
getStates(java.lang.String[] ids) |
Issue |
newIssue()
This is a factory method for creating a specific
Issue object, however the issue doesn't need to exist in
the foreign issue tracking system already. |
Issue |
newIssue(java.lang.String issueType)
This is for future use and can be left empty.
|
Issue newIssue(java.lang.String issueType) throws IssueTrackingProfileException
IssueTrackingProfileExceptionIssue newIssue() throws IssueTrackingProfileException
Issue object, however the issue doesn't need to exist in
the foreign issue tracking system already. This method may also pre-fill some default data.IssueTrackingProfileException - on any problem that occurs.void fieldChanged(IssueTrackingField field) throws IssueTrackingProfileException
field - The field that was changed.IssueTrackingProfileExceptionjava.lang.String[][] getStates(java.lang.String[] ids)
throws IssueTrackingProfileException
ids - Array of requested issue IDs.IssueTrackingProfileExceptionjava.lang.String[] getPossibleStates()
throws IssueTrackingProfileException
IssueTrackingProfileExceptionIssue getIssue(java.lang.String id) throws IssueTrackingProfileException
id - The ID of the issue in the integrated issue tracking tool.IssueTrackingProfileExceptionjava.lang.String getName()
ProductsIssueStatisticEntry[] getIssueStatistics() throws IssueTrackingProfileException
Statistics about the issues. This method finds out
how many open, fixed, etc. issues there are.null can be returned.IssueTrackingProfileException - if an error occurs.Copyright © Micro Focus 2004-2019. All rights reserved.