-
Notifications
You must be signed in to change notification settings - Fork 27
xml: Add data provider/descriptor list methods to XmlDataProviderManager #247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| * the trace, else null | ||
| */ | ||
| @SuppressWarnings("unchecked") | ||
| public <@Nullable P extends ITmfTreeDataProvider<? extends ITmfTreeDataModel>> P getXmlProvider(ITmfTrace trace, String id, Set<OutputType> types) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll update that.
| * the trace, else null | ||
| */ | ||
| @SuppressWarnings("unchecked") | ||
| @Nullable public <P extends ITmfTreeDataProvider<? extends ITmfTreeDataModel>> P getXmlProvider(ITmfTrace trace, String id, Set<OutputType> types) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider changing to public @Nullable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
4431667 to
12fd2cd
Compare
These methods are migrated from the trace server's DataProviderService. [Added] data provider/descriptor list methods to XmlDataProviderManager Signed-off-by: Bernd Hufmann <[email protected]>
12fd2cd to
54967e7
Compare
What it does
These methods are migrated from the trace server's DataProviderService.
[Added] data provider/descriptor list methods to XmlDataProviderManager
How to test
Replace methods in trace-server's DataProviderService with this new API and verify that XML analysis DPs are available as before.
Follow-ups
Review checklist