Class TypedEnumerationFactory
java.lang.Object
com.polarion.platform.persistence.spi.TypedEnumerationFactory
- All Implemented Interfaces:
IEnumFactory
,IConfigurableEnumFactory
- Author:
- dobisekm
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
INTERNAL This class is not part of Polarion API. -
Constructor Summary
ConstructorDescriptionTypedEnumerationFactory
(IRepositoryConfigService rcs, String cfgFilePath, String controlKey, Constructor<Object> optionConstructor, String enumId) Deprecated, for removal: This API element is subject to removal in a future version.TypedEnumerationFactory
(IRepositoryConfigService rcs, String cfgFilePath, String controlKey, UnaryOperator<IEnumOption> targetEnumOptionWrapper, String enumId) -
Method Summary
Modifier and TypeMethodDescriptiongetEnumeration
(String enumId, IContextId contextId) ReturnsIEnumeration
which specific for given context and enumeration id
-
Constructor Details
-
TypedEnumerationFactory
@Deprecated(since="3.23.4", forRemoval=true) public TypedEnumerationFactory(IRepositoryConfigService rcs, String cfgFilePath, String controlKey, Constructor<Object> optionConstructor, String enumId) Deprecated, for removal: This API element is subject to removal in a future version.The constructor is deprecated in favor of more flexiblecom.polarion.platform.persistence.spi.TypedEnumerationFactory#TypedEnumerationFactory(com.polarion.platform.repository.config.IRepositoryConfigService, java.lang.String, java.lang.String, java.util.function.UnaryOperator, java.lang.String)
-
TypedEnumerationFactory
public TypedEnumerationFactory(IRepositoryConfigService rcs, String cfgFilePath, String controlKey, @NotNull UnaryOperator<IEnumOption> targetEnumOptionWrapper, String enumId) - Since:
- 3.23.4
-
-
Method Details
-
getEnumeration
Description copied from interface:IEnumFactory
ReturnsIEnumeration
which specific for given context and enumeration id- Specified by:
getEnumeration
in interfaceIEnumFactory
- Parameters:
enumId
- - enumeration idcontextId
- - the factory context- Returns:
- configured
IEnumeration
for given enumeration id and context
-
com.polarion.platform.persistence.spi.TypedEnumerationFactory#TypedEnumerationFactory(com.polarion.platform.repository.config.IRepositoryConfigService, java.lang.String, java.lang.String, java.util.function.UnaryOperator, java.lang.String)