-
Story
-
Resolution: Won't Do
-
Minor
-
2.2.0.Final
-
None
-
None
Ruleset metadata may contain a list of ConfigOptions of given ruleset.
That would make it easier to sort the options in UI.
This information could be associated automatically, but:
The ruleset metadata class could implement a validation method. Options are often validated together, conditionally.
@Ruleset( id = ..., options = {ScanPackagesOption.class, SourceModeOption.class} public class JavaRulesetMetadata implements RulesetMetadata { @Override ValidationResult validateOptions(WindupConfig wc) { ... } }