Interface TransactionSettingFactory
-
- All Known Implementing Classes:
PerformanceHintFactory
,ValidationApproachFactory
public interface TransactionSettingFactory
A TransactionSettingFactory returns aTransactionSetting
implementation for a given value.- Since:
- 3.3.0
- Author:
- Jeen Broekstra
- See Also:
TransactionSettingRegistry
-
-
Method Summary
All Methods Instance Methods Abstract 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
String getName()
Name ofTransactionSetting
this factory produces- Returns:
- the name of the
TransactionSetting
produced by this factory
-
getTransactionSetting
Optional<TransactionSetting> getTransactionSetting(String value)
Retrieve aTransactionSetting
with the supplied value.- Parameters:
value
- theTransactionSetting
value- Returns:
- an optional
TransactionSetting
, empty if the factory can not produce one for the given value.
-
-