Package com.polarion.alm.tracker.model
Interface ILanguageDefinitionsProvider
public interface ILanguageDefinitionsProvider
Provider of
ILanguageDefinition
s.- Since:
- 3.6.1
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns language definition for default language (mainly for providing its label).getLanguageDefinition
(String language) Returns language definition for given language.Returns all language definitions (does not include default language definition).boolean
isGlobal()
Returns if definition is from global level.
-
Method Details
-
getDefaultLanguageDefinition
ILanguageDefinition getDefaultLanguageDefinition()Returns language definition for default language (mainly for providing its label).- Returns:
- language definition or
null
if not defined
-
getLanguageDefinitions
Collection<ILanguageDefinition> getLanguageDefinitions()Returns all language definitions (does not include default language definition).- Returns:
- all language definitions (never
null
)
-
getLanguageDefinition
Returns language definition for given language.- Parameters:
language
- language id (notnull
)- Returns:
- language definition or
null
if not defined
-
isGlobal
boolean isGlobal()Returns if definition is from global level.- Returns:
- definition is from global level
- Since:
- 3.6.2
-