@ExperimentalApi
public interface ErrorCollectionTransformer
ErrorCollection to JIRA's ErrorCollection.| Modifier and Type | Method and Description |
|---|---|
com.atlassian.jira.util.ErrorCollection |
toJiraErrorCollection(ErrorCollection errorCollection)
Transforms GreenHopper's
ErrorCollection to JIRA's ErrorCollection. |
com.atlassian.jira.util.ErrorCollection |
toJiraErrorCollection(ErrorCollection errorCollection,
com.atlassian.jira.user.ApplicationUser user)
Transforms GreenHopper's
ErrorCollection to JIRA's ErrorCollection. |
com.atlassian.jira.util.ErrorCollection toJiraErrorCollection(ErrorCollection errorCollection, @Nullable com.atlassian.jira.user.ApplicationUser user)
ErrorCollection to JIRA's ErrorCollection.
GreenHopper's ErrorCollection contains keys of errors opposite to the ErrorCollection which contains already translated errors.
During transformation errors keys are translated to error messages.errorCollection - GreenHopper's ErrorCollection which be transformed to JIRA's ErrorCollectionuser - user which performed operation. Errors will be translated to his language. If it is null then errors will be translated in JIRA's default language.ErrorCollectioncom.atlassian.jira.util.ErrorCollection toJiraErrorCollection(ErrorCollection errorCollection)
ErrorCollection to JIRA's ErrorCollection.
GreenHopper's ErrorCollection contains keys of errors opposite to the ErrorCollection which contains already translated errors.
During transformation errors keys are translated to error messages. Errors will be translated to currently logged user's language.errorCollection - GreenHopper's ErrorCollection which be transformed to JIRA's ErrorCollectionErrorCollectionCopyright © 2007–2025 Atlassian. All rights reserved.