Skip to content
Snippets Groups Projects
Commit fab84312 authored by Jonas Blatt's avatar Jonas Blatt :ant:
Browse files

Add documentation for the verifier interface

parent 1cc5f3c3
No related branches found
No related tags found
No related merge requests found
......@@ -4,9 +4,24 @@ import de.unikoblenz.fgbks.core.dmn.verification.result.VerifierResult;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Future;
/**
* Interface for a DMN Verifier. The important function is the method {@link
* Verifier#verify(ExecutorService)}. This interface is used by the * {@link AbstractVerifier}.
*/
public interface Verifier {
/**
* Generate a {@link VerifierResult} in a {@link Future} result.
*
* @param executor as {@link ExecutorService}
* @return a {@link VerifierResult}
*/
Future<VerifierResult> verify(ExecutorService executor);
/**
* This methods returns he execution time after the verifier finished the verification.
*
* @return the execution time in ms
*/
long getExecutionTime();
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment