Class TerminologyEntryWriter.TerminologyValidationResult
java.lang.Object
com.atlassian.jira.bc.ServiceResultImpl
com.atlassian.jira.i18n.terminology.TerminologyEntryWriter.TerminologyValidationResult
- All Implemented Interfaces:
ServiceResult
,Serializable
- Enclosing interface:
- TerminologyEntryWriter
@ExperimentalApi
@ParametersAreNonnullByDefault
@ReturnValuesAreNonnullByDefault
public static class TerminologyEntryWriter.TerminologyValidationResult
extends ServiceResultImpl
A simple object that holds the result of validation whether new terminology entry can be created.
If its
ServiceResultImpl.isValid()
is true then it can be passed to TerminologyEntryWriter.changeTerminology(com.atlassian.jira.i18n.terminology.TerminologyEntryWriter.TerminologyValidationResult)
to create new entry.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns terminology entry ifServiceResultImpl.isValid()
is true, otherwise null.Methods inherited from class com.atlassian.jira.bc.ServiceResultImpl
getErrorCollection, getWarningCollection, isValid
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.jira.bc.ServiceResult
hasWarnings
-
Method Details
-
getTerminologyEntries
Returns terminology entry ifServiceResultImpl.isValid()
is true, otherwise null.
-