Class ExecutionRunner
java.lang.Object
de.uni_mannheim.informatik.dws.melt.matching_eval.ExecutionRunner
- All Implemented Interfaces:
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 Summary
-
Constructor Summary
ConstructorDescriptionExecutionRunner
(TestCase testCase, Object matcher, String matcherName) ExecutionRunner
(TestCase testCase, Object matcher, String matcherName, Object inputAlignment, Object parameters) -
Method Summary
Modifier and TypeMethodDescriptioncall()
private static URL
getUrlOrNull
(URI uri) static ExecutionResult
runMatcher
(TestCase testCase, Object matcher, String matcherName) Run an individual matcher on an individual test case.static ExecutionResult
runMatcher
(TestCase testCase, Object matcher, String matcherName, Object inputAlignment, Object parameters) Run an individual matcher on an individual test case.
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
testCase
-
matcher
-
matcherName
-
inputAlignment
-
parameters
-
-
Constructor Details
-
ExecutionRunner
-
ExecutionRunner
-
-
Method Details
-
call
- Specified by:
call
in interfaceCallable<ExecutionResult>
-
runMatcher
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
- Throws:
MalformedURLException
-