com.atlassian.jira.bc.project.version
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
- Direct Known Subclasses:
- VersionService.VersionBuilderValidationResult
- Enclosing interface:
- VersionService
public static class VersionService.ReasonsServiceResult<R,T>
- extends ServiceResultImpl
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VersionService.ReasonsServiceResult
public VersionService.ReasonsServiceResult(ErrorCollection errorCollection,
Set<R> specificReasons)
VersionService.ReasonsServiceResult
public VersionService.ReasonsServiceResult(ErrorCollection errorCollection,
Set<R> specificReasons,
T result)
getSpecificReasons
public Set<R> getSpecificReasons()
getResult
public T getResult()
Copyright © 2002-2014 Atlassian. All Rights Reserved.