Class VersionService.ReasonsServiceResult<R,T>
java.lang.Object
com.atlassian.jira.bc.ServiceResultImpl
com.atlassian.jira.bc.project.version.VersionService.ReasonsServiceResult<R,T>
- Type Parameters:
R
- the type of ReasonsT
- the type of the Result object if successful
- All Implemented Interfaces:
ServiceResult
,Serializable
- Direct Known Subclasses:
VersionService.VersionBuilderValidationResult
- Enclosing interface:
- VersionService
A generified
ServiceResultImpl
that allows Service-specified Reasons to be set as part of the result (in
addition to Reasons specified inside the ErrorCollection
.- Since:
- v6.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionReasonsServiceResult
(ErrorCollection errorCollection, Set<R> specificReasons) ReasonsServiceResult
(ErrorCollection errorCollection, Set<R> specificReasons, T result) -
Method Summary
Methods inherited from class com.atlassian.jira.bc.ServiceResultImpl
getErrorCollection, getWarningCollection, isValid
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.jira.bc.ServiceResult
hasWarnings
-
Constructor Details
-
ReasonsServiceResult
-
ReasonsServiceResult
-
-
Method Details
-
getSpecificReasons
-
getResult
-