Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mylyn-dev] Storing private data per task

Yes, using ITask.getAttribute() and ITask.setAttribute() is the best API for this. Just be aware that the data is persisted in the task list and kept in memory so it's not recommended to store large amounts of data in those attributes.

Steffen


On Mon, Jun 7, 2010 at 10:53 AM, Wojciech Seliga <elmadir@xxxxxxxxx> wrote:
Hi,

What is the best way to keep (and store for off-line use if possible) task-specific private data which is never going to be submitted back to the server and thus should not impact outgoing status task>
Is setAttribute/getAttribute of IAttributeContainer (and thus ITask and AbstractTask) good for that?
The Connector is not going to display such attribute to the user (so there is no need for TaskAttribute and AbstractAttributeEditor), but instead keep some auxiliary per-task data.

Cheers,
Wojtek
 

_______________________________________________
mylyn-dev mailing list
mylyn-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/mylyn-dev




--
Steffen Pingel
Committer, http://eclipse.org/mylyn
Senior Developer, http://tasktop.com

Back to the top