Uploaded image for project: 'WINDUP - Red Hat Application Migration Toolkit'
  1. WINDUP - Red Hat Application Migration Toolkit
  2. WINDUP-552

Allow validation of ConfigurationOptions in RulesetMetadata

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Won't Do
    • Icon: Minor Minor
    • 2.x Future
    • 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) {
               ...
           }
      }
      

              Unassigned Unassigned
              ozizka_jira Ondrej Zizka (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: