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

Set what RuleChecker output should contain #86

Open
pkiraly opened this issue Nov 29, 2021 · 0 comments
Open

Set what RuleChecker output should contain #86

pkiraly opened this issue Nov 29, 2021 · 0 comments

Comments

@pkiraly
Copy link
Owner

pkiraly commented Nov 29, 2021

There might be two information: 1) whether a rule passed or failed, and 2) what is the score associated with this rule (if any). Based on this there might be 3 options to rule the output: 1) only the status info 2) the score (if no score available, the status info) 3) both.

To implement it the MeasurementConfiguration() should have a new method withRuleCheckingOutputType which accepts one of an enumeration RuleCheckingOutputType: STATUS, SCORE, BOTH.

Example

new MeasurementConfiguration()
  ...
  .withRuleCheckingOutputType(RuleCheckingOutputType.STATUS)
@pkiraly pkiraly changed the title Set what RuleChecker results should contain Set what RuleChecker output should contain Nov 29, 2021
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

No branches or pull requests

1 participant