@PublicApi public class ServiceResultImpl extends Object implements ServiceResult
ServiceOutcome
, which avoids to have to create a new class.
Included in the jira-api module not because it should be used by plugin developers, but because it is extended by
inner classes on many Services eg see IssueService.TransitionValidationResult
Constructor and Description |
---|
ServiceResultImpl(ErrorCollection errorCollection) |
public ServiceResultImpl(ErrorCollection errorCollection)
public boolean isValid()
isValid
in interface ServiceResult
public ErrorCollection getErrorCollection()
getErrorCollection
in interface ServiceResult
ErrorCollection
that contains any errors that may have happened as a result of the validations.Copyright © 2002-2015 Atlassian. All Rights Reserved.