Class ExecutionRunner

java.lang.Object
de.uni_mannheim.informatik.dws.melt.matching_eval.ExecutionRunner
All Implemented Interfaces:
Callable<ExecutionResult>

class ExecutionRunner extends Object implements Callable<ExecutionResult>
Individual execution object for parallel execution. Development Remark: Not a public class because this should not be called by user of framework.
Author:
Sven Hertling, Jan Portisch
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • testCase

      private TestCase testCase
    • matcher

      private Object matcher
    • matcherName

      private String matcherName
    • inputAlignment

      private Object inputAlignment
    • parameters

      private Object parameters
  • Constructor Details

  • Method Details

    • call

      public ExecutionResult call()
      Specified by:
      call in interface Callable<ExecutionResult>
    • runMatcher

      public static ExecutionResult runMatcher(TestCase testCase, Object matcher, String matcherName)
      Run an individual matcher on an individual test case.
      Parameters:
      testCase - Test case to be used for run.
      matcher - The matcher to be run. This class should implement either IMatcher or IOntologyMatchingToolBridge is some way.
      matcherName - Name of the matcher.
      Returns:
      ExecutionResult Object
    • runMatcher

      public static ExecutionResult runMatcher(TestCase testCase, Object matcher, String matcherName, Object inputAlignment, Object parameters)
      Run an individual matcher on an individual test case.
      Parameters:
      testCase - Test case to be used for run.
      matcher - The matcher to be run. This class should implement either IMatcher or IOntologyMatchingToolBridge is some way.
      matcherName - Name of the matcher.
      Returns:
      ExecutionResult Object
    • getUrlOrNull

      private static URL getUrlOrNull(URI uri) throws MalformedURLException
      Throws:
      MalformedURLException