Package org.eclipse.rdf4j.sail.shacl
Class ValidationApproachFactory
- java.lang.Object
-
- org.eclipse.rdf4j.sail.shacl.ValidationApproachFactory
-
- All Implemented Interfaces:
TransactionSettingFactory
public class ValidationApproachFactory extends Object implements TransactionSettingFactory
Factory class for producing instances ofShaclSail.TransactionSettings.ValidationApproach
from string values.- Author:
- Jeen Broekstra
-
-
Constructor Summary
Constructors Constructor Description ValidationApproachFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
Name ofTransactionSetting
this factory producesOptional<TransactionSetting>
getTransactionSetting(String value)
Retrieve aTransactionSetting
with the supplied value.
-
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:TransactionSettingFactory
Name ofTransactionSetting
this factory produces- Specified by:
getName
in interfaceTransactionSettingFactory
- Returns:
- the name of the
TransactionSetting
produced by this factory
-
getTransactionSetting
public Optional<TransactionSetting> getTransactionSetting(String value)
Description copied from interface:TransactionSettingFactory
Retrieve aTransactionSetting
with the supplied value.- Specified by:
getTransactionSetting
in interfaceTransactionSettingFactory
- Parameters:
value
- theTransactionSetting
value- Returns:
- an optional
TransactionSetting
, empty if the factory can not produce one for the given value.
-
-