@ExperimentalApi @ParametersAreNonnullByDefault public interface TerminologyEntryReader
TerminologyEntryWriter
if you want to set entries.Modifier and Type | Method and Description |
---|---|
Collection<TerminologyEntry> |
getAllTerminologyEntries()
Collection of
TerminologyEntry active on this instance. |
Collection<TerminologyEntry> |
getHistoricalTerminologyEntries(String originalName)
Collection of all
TerminologyEntry that have been applied to the originalName . |
Optional<TerminologyEntry> |
getTerminologyEntry(String originalName) |
Optional<TerminologyEntry> getTerminologyEntry(String originalName)
originalName
- of the renamed field. Names that are allowed to be renamed are 'sprint' or 'epic'.TerminologyEntry
, or Optional.empty()
if the provided name is not one of allowed names.Collection<TerminologyEntry> getAllTerminologyEntries()
TerminologyEntry
active on this instance.
For each allowed name the collection contains either an entry created by TerminologyEntryWriter.changeTerminology(com.atlassian.jira.i18n.terminology.TerminologyEntryWriter.TerminologyValidationResult)
or a default entry.
A default entry represents original terminology used in Jira, for example where an original name is 'sprint' and new name is also 'sprint'. It is returned when terminology hasn't been changed.
Collection<TerminologyEntry> getHistoricalTerminologyEntries(String originalName)
TerminologyEntry
that have been applied to the originalName
.
It includes both active and not active entries. The entries are sorted by a timestamp in descending order.originalName
- a name of a renamed field.TerminologyEntry
set to the specified original name.Copyright © 2002-2024 Atlassian. All Rights Reserved.