Bug 387710 - [api] task category property should be API
Summary: [api] task category property should be API
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: 3.9   Edit
Assignee: Steffen Pingel CLA
QA Contact:
URL:
Whiteboard:
Keywords: noteworthy, plan
: 315114 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-08-21 11:25 EDT by Benjamin Muskalla CLA
Modified: 2013-05-12 15:46 EDT (History)
1 user (show)

See Also:


Attachments
mylyn/context/zip (7.53 KB, application/octet-stream)
2013-04-21 20:13 EDT, Steffen Pingel CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Muskalla CLA 2012-08-21 11:25:38 EDT
In order to let connectors set their task repository category, they currently need to use internal interfaces like IRepositoryConstants.

While the different category constants are present in RepositoryCategory, the property constant @PROPERTY_CATEGORY@ itself is not exposed.
Comment 1 Steffen Pingel CLA 2013-04-21 19:59:37 EDT
It sounds like the following constants should be published:

CATEGORY_BUGS
CATEGORY_BUILDS
CATEGORY_REVIEWS
CATEGORY_TASKS

In addition a set/getCategory() method should be introduced. Does that make sense, Benny?
Comment 2 Steffen Pingel CLA 2013-04-21 20:12:29 EDT
Here is a proposed change that moves the constants into TaskRepository and makes the category a first-class part of the TaskRepository API: https://git.eclipse.org/r/#/c/12087/.
Comment 3 Steffen Pingel CLA 2013-04-21 20:13:54 EDT
Created attachment 229942 [details]
mylyn/context/zip
Comment 4 Steffen Pingel CLA 2013-04-22 19:26:27 EDT
The change was merged.
Comment 5 Steffen Pingel CLA 2013-05-12 15:46:01 EDT
*** Bug 315114 has been marked as a duplicate of this bug. ***