Class TypedEnumeration
java.lang.Object
com.polarion.platform.persistence.spi.AbstractEnumeration
com.polarion.platform.persistence.spi.RepoBasedEnumeration
com.polarion.platform.persistence.spi.TypedEnumeration
- All Implemented Interfaces:
IConfigurableEnumeration,IEnumeration
- Author:
- POLARION SOFTWARE
-
Constructor Summary
ConstructorsConstructorDescriptionTypedEnumeration(Constructor<Object> enumConstructor, String cfgPath, String controlKey, IRepositoryConfigService rcs, String enumerationId, IContextId contextId) Deprecated, for removal: This API element is subject to removal in a future version.TypedEnumeration(UnaryOperator<IEnumOption> wrapper, String cfgPath, String controlKey, IRepositoryConfigService rcs, String enumerationId, IContextId contextId) -
Method Summary
Methods inherited from class com.polarion.platform.persistence.spi.RepoBasedEnumeration
getConfigurationId, getDefaultOption, getEnumerationFileName, getEnumerationFolderMethods inherited from class com.polarion.platform.persistence.spi.AbstractEnumeration
getAllOptions, getAvailableOptions, getAvailableOptions, getDefaultOption, wrapOption, wrapOption, wrapOptionMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.polarion.platform.persistence.IEnumeration
getAllOptions, getAvailableOptions, getAvailableOptions, getDefaultOption, wrapOption, wrapOption, wrapOption
-
Constructor Details
-
TypedEnumeration
@Deprecated(since="3.23.4", forRemoval=true) public TypedEnumeration(Constructor<Object> enumConstructor, String cfgPath, String controlKey, IRepositoryConfigService rcs, String enumerationId, IContextId contextId) 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.TypedEnumeration#TypedEnumeration(java.util.function.UnaryOperator, java.lang.String, java.lang.String, com.polarion.platform.repository.config.IRepositoryConfigService, java.lang.String, com.polarion.subterra.base.data.identification.IContextId) -
TypedEnumeration
public TypedEnumeration(@NotNull UnaryOperator<IEnumOption> wrapper, String cfgPath, String controlKey, IRepositoryConfigService rcs, String enumerationId, IContextId contextId) - Since:
- 3.23.4
-
-
Method Details
-
getControlKey
Description copied from class:AbstractEnumerationDefault impl returnsnull. Override if necessary.- Specified by:
getControlKeyin interfaceIEnumeration- Overrides:
getControlKeyin classAbstractEnumeration- Returns:
- Name of the key on the object, which controls the option set of this enumeration.
-
com.polarion.platform.persistence.spi.TypedEnumeration#TypedEnumeration(java.util.function.UnaryOperator, java.lang.String, java.lang.String, com.polarion.platform.repository.config.IRepositoryConfigService, java.lang.String, com.polarion.subterra.base.data.identification.IContextId)