Uses of Enum Class
com.atlassian.greenhopper.model.validation.ErrorCollection.Reason
Packages that use ErrorCollection.Reason
Package
Description
-
Uses of ErrorCollection.Reason in com.atlassian.greenhopper.model.validation
Methods in com.atlassian.greenhopper.model.validation that return ErrorCollection.ReasonModifier and TypeMethodDescriptionErrorCollection.getDefinitiveReason()Returns the definitive reason, if one exists.static ErrorCollection.ReasonReturns the enum constant of this class with the specified name.static ErrorCollection.Reason[]ErrorCollection.Reason.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.atlassian.greenhopper.model.validation that return types with arguments of type ErrorCollection.ReasonModifier and TypeMethodDescriptionErrorCollection.getReasons()A set of well known reasons why the function has not been performed.Methods in com.atlassian.greenhopper.model.validation with parameters of type ErrorCollection.ReasonModifier and TypeMethodDescriptionErrorCollection.addContextualError(ErrorCollection.Reason reason, String contextId, String messageKey, Object... params) Add a contextual error.ErrorCollection.addError(ErrorCollection.Reason reason, String messageKey, Object... params) Add a global error that is not bound to a particular context.ErrorCollection.addReason(ErrorCollection.Reason reason) Add a reason why the function has not been performed.Method parameters in com.atlassian.greenhopper.model.validation with type arguments of type ErrorCollection.ReasonModifier and TypeMethodDescriptionErrorCollection.addReasons(Set<ErrorCollection.Reason> reasons) Add reasons why the function has not been performed.ErrorCollection.setReasons(Set<ErrorCollection.Reason> reasons) Set reasons why the function has not been performed. -
Uses of ErrorCollection.Reason in com.atlassian.greenhopper.service
Methods in com.atlassian.greenhopper.service with parameters of type ErrorCollection.ReasonModifier and TypeMethodDescriptionstatic <T> ServiceOutcome<T>ServiceOutcomeImpl.error(ErrorCollection.Reason reason, String messageKey, Object... params) Convenience method that returns a new ServiceOutcomeImpl instance containing the provided error message, and no return value.static <T> ServiceOutcome<T>ServiceOutcomeImpl.error(ServiceResult outcome, ErrorCollection.Reason reason) Convenience method that returns a new ServiceOutcomeImpl containing the given errors.static <T> ServiceOutcome<T>ServiceOutcomeImpl.error(String contextId, ErrorCollection.Reason reason, String messageKey, Object... params) Convenience method that returns a new ServiceOutcomeImpl instance containing the provided contextual error message, and no return value.static ServiceResultServiceResultImpl.error(ErrorCollection.Reason reason, String messageKey, Object... params) Convenience method that returns a new ServiceResult instance containing the provided error message, and no return value.static ServiceResultServiceResultImpl.error(String contextId, ErrorCollection.Reason reason, String messageKey, Object... params) Convenience method that returns a new ServiceResult instance containing the provided contextual error message, and no return value.static <T> ServiceOutcome<T>ServiceOutcomeImpl.from(com.atlassian.jira.util.ErrorCollection jiraErrors, ErrorCollection.Reason reason) Convenience method that returns a new ServiceOutcomeImpl containing the given errors. -
Uses of ErrorCollection.Reason in com.atlassian.greenhopper.service.lexorank
Methods in com.atlassian.greenhopper.service.lexorank with parameters of type ErrorCollection.ReasonModifier and TypeMethodDescriptionstatic <T> LexoRankOperationOutcome<T>LexoRankOperationOutcome.error(ErrorCollection.Reason reason, String messageKey, Object... messageArguments) -
Uses of ErrorCollection.Reason in com.atlassian.greenhopper.service.util
Methods in com.atlassian.greenhopper.service.util with parameters of type ErrorCollection.ReasonModifier and TypeMethodDescriptionstatic voidServiceOutcomeHelper.throwError(ErrorCollection.Reason reason, String messageKey, Object... params) Convenience method that throws a ServiceOutcomeException with the given error.Constructors in com.atlassian.greenhopper.service.util with parameters of type ErrorCollection.ReasonModifierConstructorDescriptionServiceOutcomeException(ErrorCollection.Reason reason, String messageKey, Object... params)