Bug 578394 - Add (default) methods to IPublisherInfo that are more meaningful to get the bitflags
Summary: Add (default) methods to IPublisherInfo that are more meaningful to get the b...
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 4.22 M2   Edit
Assignee: Christoph Laeubrich CLA
QA Contact:
URL:
Whiteboard:
Keywords: api
Depends on:
Blocks:
 
Reported: 2022-01-26 09:15 EST by Christoph Laeubrich CLA
Modified: 2022-01-28 05:22 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Laeubrich CLA 2022-01-26 09:15:49 EST
IPublisherInfo has getArtifactOptions that returns a bitfield, using this in the code can become quite cumbersome and hard to read.

The proposal is to add new default implemented methods that give semantic true/false return values.
Comment 1 Eclipse Genie CLA 2022-01-26 09:17:34 EST
New Gerrit change created: https://git.eclipse.org/r/c/equinox/rt.equinox.p2/+/190041