Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Verification for Decision Model and Notation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Container registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jonas Blatt
Verification for Decision Model and Notation
Commits
e1c2c3d8
Commit
e1c2c3d8
authored
5 years ago
by
Jonas Blatt
Browse files
Options
Downloads
Patches
Plain Diff
Add documentation for Abstract Verifier
parent
acaecb84
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dmnverifierapi/src/main/java/de/unikoblenz/fgbks/core/dmn/verification/verifier/AbstractVerifier.java
+15
-0
15 additions, 0 deletions
...gbks/core/dmn/verification/verifier/AbstractVerifier.java
with
15 additions
and
0 deletions
dmnverifierapi/src/main/java/de/unikoblenz/fgbks/core/dmn/verification/verifier/AbstractVerifier.java
+
15
−
0
View file @
e1c2c3d8
...
...
@@ -16,6 +16,10 @@ import org.apache.commons.lang3.time.StopWatch;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
/**
* The abstract verifier is a implementation staring point for the {@link Verifier} interface and
* contains the needed components for the final implementation of verifiers.
*/
public
abstract
class
AbstractVerifier
implements
Verifier
{
protected
final
Logger
LOGGER
=
LoggerFactory
.
getLogger
(
getClass
().
getSimpleName
());
...
...
@@ -32,6 +36,13 @@ public abstract class AbstractVerifier implements Verifier {
return
verificationType
;
}
/**
* Load the configuration, which contains the necessary information for the verifier. E.g. the dmn
* model.
*
* @param configuration the configuration object
* @return the current instance of the verifier
*/
public
final
AbstractVerifier
withConfiguration
(
AbstractDmnVerifierConfig
configuration
)
{
this
.
verifierConfig
=
Validate
.
notNull
(
configuration
);
this
.
dmnObjectContainer
=
...
...
@@ -81,6 +92,10 @@ public abstract class AbstractVerifier implements Verifier {
return
resultBuilder
.
withExecutionTime
(
executionTime
).
build
();
}
/**
* This method must be implemented by the finial verifiers and should contain the calculation of
* the verifier.
*/
protected
abstract
void
doVerification
();
@Override
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment