Skip to content
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

tmf: Allow TmfConfiguration to be de-/serialized with GSON #168

Merged

Conversation

bhufmann
Copy link
Contributor

Also, generate unique UUID as ID from name.

[Added] Allow TmfConfiguration to be de-/serialized with GSON
[Added] TmfConfiguration.UNKNOWN string if values are not set [Added[ Utility methods to write/read configuration to/from JSON file

Continued from #115

Signed-off-by: Bernd Hufmann [email protected]

@bhufmann bhufmann requested a review from PatrickTasse October 21, 2024 12:53
}
return new TmfConfiguration(this);
}
}
/**
* Converts a JSON parameters string to {@link ITmfConfiguration}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The input is not a string. But I wonder if this method is still needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it's not needed anymore. I'll remove it.

Also, generate unique UUID as ID from name.

[Added] Allow TmfConfiguration to be de-/serialized with GSON
[Added] TmfConfiguration.UNKNOWN string if values are not set
[Added[ Utility methods to write/read configuration to/from JSON file

Signed-off-by: Bernd Hufmann <[email protected]>
@bhufmann bhufmann force-pushed the serializable_configuration branch from c6031c5 to 9a31bf4 Compare October 21, 2024 17:08
@bhufmann bhufmann merged commit b4d59f0 into eclipse-tracecompass:master Oct 21, 2024
4 checks passed
@bhufmann bhufmann deleted the serializable_configuration branch October 21, 2024 17:46
@bhufmann bhufmann mentioned this pull request Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants