Package org.ametys.runtime.parameter
Interface Enumerator
- All Known Implementing Classes:
AvailableContentTypesEnumerator,CalendarContentTypesEnumerator,CatalogEnumerator,CertificationLabelsEnumerator,ContentTypeEnumerator,ContentTypesForSearchEnumerator,DefaultWorkflowStepEnumerator,EqTDComputationModeEnumerator,FOUserPreferencesEnumerator,LanguageEnumerator,MentionTypeEnumerator,MonthEnumerator,OrgUnitEnumerator,OrgUnitUAICodeEnumerator,ReturnableEnumerator,ServiceXSLTEnumerator,SiteEnumerator,SkinEnumerator,StaticEnumerator,StepHolderEnumerator,UserPreferencesEnumerator,WorkflowStepsEnumerator
Deprecated.
Enumerator for listing values.
Such values usually depends on environment (directory listing, DB table, ...).
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Get the configuration this enumeratorDeprecated.Provides the enumerated values with their optional label.Deprecated.Retrieves a single label from a value.
-
Method Details
-
getEntry
Deprecated.Retrieves a single label from a value.- Parameters:
value- the value.- Returns:
- the label or
nullif not found. - Throws:
Exception- if an error occurs.
-
getEntries
Deprecated.Provides the enumerated values with their optional label.- Returns:
- the enumerated values and their label.
- Throws:
Exception- if an error occurs.
-
getConfiguration
Deprecated.Get the configuration this enumerator- Returns:
- the configuration
-
Enumeratorinstead