Package com.atlassian.jira.web.util
Class TerminologyDataProvider
java.lang.Object
com.atlassian.jira.web.util.TerminologyDataProvider
- All Implemented Interfaces:
com.atlassian.webresource.api.data.WebResourceDataProvider,Supplier<com.atlassian.json.marshal.Jsonable>
public class TerminologyDataProvider
extends Object
implements com.atlassian.webresource.api.data.WebResourceDataProvider
Provides data about the current state of terminology on the instance.
- Since:
- 8.16
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.atlassian.json.marshal.Jsonableget()getTerminologyEntriesAsJson(Collection<TerminologyEntry> terminologyEntries) getTerminologyEntryAsJson(TerminologyEntry terminologyEntry) booleanisTerminologyActive(Collection<TerminologyEntry> terminologyEntries)
-
Constructor Details
-
TerminologyDataProvider
-
-
Method Details
-
getTerminologyEntries
-
isTerminologyActive
-
getTerminologyEntriesAsJson
public List<JSONObject> getTerminologyEntriesAsJson(Collection<TerminologyEntry> terminologyEntries) -
getTerminologyEntryAsJson
public JSONObject getTerminologyEntryAsJson(@NonNull TerminologyEntry terminologyEntry) throws JSONException - Throws:
JSONException
-
get
public com.atlassian.json.marshal.Jsonable get()
-