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

[DynamicSpotter diagnosis] Store info about problem occurrences #61

Open
DenisKnoepfle opened this issue Jul 26, 2014 · 0 comments
Open

Comments

@DenisKnoepfle
Copy link
Contributor

In order to implement the new design of the Results View with the 2-level hierarchy in which the occurrences of the problems shall be shown under the corresponding problem name it is necessary that this information is saved somehow during the diagnosis.

I suggest to include an additional HashMap in the SpotterResult that maps the problem name (not the id) to a list of "Occurrence Objects". Their type could be a new class (if additional information should be provided later maybe) or just a string containing all relevant information that should be displayed in the UI directly.

Then the new design could be realized using the state of the problem to define the icon (detected/not detected/erroneous) and list all found occurrences there. The question is only is it possible to have a hierarchy with the same problem configured several times under different parent nodes? And what if one of them is detected and the other not? The UI should always display "detected" when of the problems has at least one occurrence?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants