-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f811fdc
commit 914a82a
Showing
2 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
src/main/java/eu/europeana/metis/sandbox/service/debias/Stateful.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,29 @@ | ||
package eu.europeana.metis.sandbox.service.debias; | ||
|
||
/** | ||
* The interface Stateful. | ||
*/ | ||
public interface Stateful { | ||
|
||
/** | ||
* Fail. | ||
* | ||
* @param datasetId the dataset id | ||
*/ | ||
void fail(Integer datasetId); | ||
|
||
/** | ||
* Success. | ||
* | ||
* @param datasetId the dataset id | ||
*/ | ||
void success(Integer datasetId); | ||
|
||
/** | ||
* Process boolean. | ||
* | ||
* @param datasetId the dataset id | ||
* @return the boolean | ||
*/ | ||
boolean process(Integer datasetId); | ||
} |