public class ErrorCollectionTransformerImpl extends Object implements ErrorCollectionTransformer
| Constructor and Description |
|---|
ErrorCollectionTransformerImpl() |
| 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. |
public com.atlassian.jira.util.ErrorCollection toJiraErrorCollection(ErrorCollection errorCollection, com.atlassian.jira.user.ApplicationUser user)
ErrorCollectionTransformerErrorCollection 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.toJiraErrorCollection in interface ErrorCollectionTransformererrorCollection - 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.ErrorCollectionpublic com.atlassian.jira.util.ErrorCollection toJiraErrorCollection(ErrorCollection errorCollection)
ErrorCollectionTransformerErrorCollection 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.toJiraErrorCollection in interface ErrorCollectionTransformererrorCollection - GreenHopper's ErrorCollection which be transformed to JIRA's ErrorCollectionErrorCollectionCopyright © 2007–2025 Atlassian. All rights reserved.