R
- the type of ReasonsT
- the type of the Result object if successfulpublic static class VersionService.ReasonsServiceResult<R,T> extends ServiceResultImpl
ServiceResultImpl
that allows Service-specified Reasons to be set as part of the result (in
addition to Reasons specified inside the ErrorCollection
.Constructor and Description |
---|
ReasonsServiceResult(ErrorCollection errorCollection,
Set<R> specificReasons) |
ReasonsServiceResult(ErrorCollection errorCollection,
Set<R> specificReasons,
T result) |
Modifier and Type | Method and Description |
---|---|
T |
getResult() |
Set<R> |
getSpecificReasons() |
getErrorCollection, getWarningCollection, isValid
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasWarnings
public ReasonsServiceResult(ErrorCollection errorCollection, Set<R> specificReasons)
public ReasonsServiceResult(ErrorCollection errorCollection, Set<R> specificReasons, T result)
Copyright © 2002-2021 Atlassian. All Rights Reserved.