Skip to content

Commit

Permalink
MET-5961 generate java doc
Browse files Browse the repository at this point in the history
  • Loading branch information
jeortizquan committed Jul 30, 2024
1 parent f811fdc commit 914a82a
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/main/java/eu/europeana/metis/sandbox/service/debias/State.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,25 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
* The type State.
*/
public abstract class State {

/**
* The State machine.
*/
protected DetectService stateMachine;
/**
* The Detect repository.
*/
protected DetectRepository detectRepository;
/**
* The Name.
*/
protected String name;
/**
* The Terminal state.
*/
protected boolean terminalState;
}
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);
}

0 comments on commit 914a82a

Please sign in to comment.