Interface ReleaseOperation.ReleaseResult

Enclosing interface:
ReleaseOperation

public static interface ReleaseOperation.ReleaseResult
Interface representing the result of the release operation.
Since:
5.2.180606, 5.2.180702
  • Method Details

    • isSuccessful

      boolean isSuccessful()
      Returns true if the following collection is empty: getProblematicElements()
      Returns:
      true if no error occurred and all elements could be released
      Since:
      5.2.180606, 5.2.180702
    • getReleasedElements

      @NotNull @NotNull Set<BasicInfo> getReleasedElements()
      Returns all successfully released elements
      Returns:
      released elements
      Since:
      5.2.180606, 5.2.180702
    • getReleaseFailedElements

      @NotNull @NotNull Set<BasicInfo> getReleaseFailedElements()
      Returns all elements passed over to ReleaseOperation.perform(IDProvider...) where release failed.
      Returns:
      elements which could not be released
      Since:
      5.2.180606, 5.2.180702
    • getProblematicElements

      @NotNull @NotNull EnumMap<ReleaseProblem,Set<BasicInfo>> getProblematicElements()
      Returns all problematic elements. See ReleaseProblem to get a list of all possible problems
      Returns:
      problematic elements
      Since:
      5.2.180606, 5.2.180702