Class RestErrorCollection

java.lang.Object
com.atlassian.bamboo.rest.common.exception.RestErrorCollection

@ExperimentalApi public class RestErrorCollection extends Object
  • Constructor Details

    • RestErrorCollection

      public RestErrorCollection()
    • RestErrorCollection

      public RestErrorCollection(@NotNull @NotNull ErrorCollection simpleErrorCollection)
    • RestErrorCollection

      public RestErrorCollection(@NotNull @NotNull String error)
  • Method Details

    • addError

      public void addError(String error)
    • addFieldError

      public void addFieldError(String field, String error)
    • getErrors

      public Collection<String> getErrors()
    • getFieldErrors

      public Map<String,List<String>> getFieldErrors()
    • hasNoErrors

      public boolean hasNoErrors()