Skip to content

Commit

Permalink
Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
phax committed Sep 15, 2024
1 parent dd1cd9a commit f0df6ca
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ Please ensure that your stack size is at least 1MB (for Saxon). Using the Oracle
* Updated to ph-diver 3.0.1
* The outcome of a validation can now be `valid`, `invalid` or `unclear` (new)
* Added new classes `EExtendedValidity` and `IValidityDeterminator`
* Each `IValidationExecutor` now has an `IValidityDeterminator`
* By using `IValidityDeterminator.DEFAULT` the previous state can be re-created
* Each `IValidationExecutorManager` now has an `IValidityDeterminator`
* By using `IValidityDeterminator.getDefault()` the previous state can be re-created
* Renamed method `IValidationArtefact.getValidationArtefactType` to `getValidationType`
* v9.2.2 - 2024-07-29
* Switched from custom error level to `CustomErrorDetails`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import com.helger.commons.state.EValidity;
import com.helger.phive.api.result.ValidationResultList;
import com.helger.phive.api.source.IValidationSource;
import com.helger.phive.api.validity.IValidityDeterminator;

/**
* Interface for an execution manager that applies a set of rules onto an object
Expand All @@ -35,6 +36,12 @@
*/
public interface IValidationExecutionManager <SOURCETYPE extends IValidationSource>
{
/**
* @return The validity determinator to be used. Never <code>null</code>.
*/
@Nonnull
IValidityDeterminator <SOURCETYPE> getValidityDeterminator ();

/**
* Perform a validation with all the contained executors and the system
* default locale.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@ public ValidationExecutionManager (@Nonnull final IValidityDeterminator <SOURCET
addExecutors (aExecutors);
}

@Nonnull
public final IValidityDeterminator <SOURCETYPE> getValidityDeterminator ()
{
return m_aValidityDeterminator;
}

/**
* Add a single executor.
*
Expand Down

0 comments on commit f0df6ca

Please sign in to comment.