Class ResultInfoHelper

java.lang.Object
fr.ifremer.isisfish.result.ResultInfoHelper

public class ResultInfoHelper extends Object
  • Constructor Details

    • ResultInfoHelper

      public ResultInfoHelper()
  • Method Details

    • cleanResultNames

      public static Set<String> cleanResultNames(Collection<String> results)
      Clean result set to remove ending ".java" if present.
      Parameters:
      results -
      Returns:
      set with clean result name
    • extractAllNecessaryResults

      public static Set<String> extractAllNecessaryResults(Set<String> currentResult)
      Extract all necessary result from currentResult Set by adding all result's necessaryResults. This class can cause Result class compilation.
      Parameters:
      currentResult - input result set
      Returns:
      output result set
    • extractRecursiveResults

      protected static void extractRecursiveResults(Set<String> inputResult, Set<String> destResult)
      Extract all necessary result into destResult from initial currentResult Set.
      Parameters:
      inputResult - src result list
      destResult - dest result list