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

Details

    • Story
    • Resolution: Won't Do
    • Minor
    • 2.x Future
    • 2.2.0.Final
    • None

    Description

      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) {
               ...
           }
      }
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: