Class ServiceOutcomeWithWarnings<T>

java.lang.Object
com.atlassian.jira.bc.ServiceResultImpl
com.atlassian.jira.bc.ServiceOutcomeImpl<T>
com.atlassian.jira.user.anonymize.ServiceOutcomeWithWarnings<T>
All Implemented Interfaces:
ServiceOutcome<T>, ServiceResult, Serializable

public class ServiceOutcomeWithWarnings<T> extends ServiceOutcomeImpl<T>
Result with warnings from handlers.
See Also:
  • Constructor Details

    • ServiceOutcomeWithWarnings

      public ServiceOutcomeWithWarnings(@Nullable T value, @Nonnull ErrorCollection errorCollection, @Nonnull Map<String,ErrorCollection> warnings)
      Constructs result, possibly not successful.
      Parameters:
      errorCollection - Collection of errors. Use empty collection for successful response.
      warnings - Map of warnings returned by property change handlers during processing user key change.
    • ServiceOutcomeWithWarnings

      public ServiceOutcomeWithWarnings(@Nullable T value, @Nonnull Map<String,ErrorCollection> warnings)
      Constructs successful result.
      Parameters:
      warnings - Map of warnings returned by property change handlers during processing user key change.
  • Method Details