@PublicApi
public static interface VersionService.ValidationResult
| Modifier and Type | Interface and Description |
|---|---|
static class |
VersionService.ValidationResult.Action |
static class |
VersionService.ValidationResult.Reason |
| Modifier and Type | Method and Description |
|---|---|
VersionService.ValidationResult.Action |
getAction() |
Version |
getAffectsSwapVersion() |
ErrorCollection |
getErrorCollection() |
Version |
getFixSwapVersion() |
Set<VersionService.ValidationResult.Reason> |
getReasons() |
Version |
getVersionToDelete() |
com.atlassian.fugue.Option<Version> |
getVersionToMergeTo()
Deprecated.
since 7.0.10
|
boolean |
isValid() |
boolean isValid()
Version getVersionToDelete()
Version getFixSwapVersion()
Version getAffectsSwapVersion()
@Deprecated com.atlassian.fugue.Option<Version> getVersionToMergeTo()
VersionService.validateDelete(JiraServiceContext, Long, VersionAction, VersionAction)
accepted only replacements for affectedVersion and fixedVersion it cannot replace version for custom fields
in result it cannot perform true merge operation.
If you want merge just use VersionService.merge(JiraServiceContext, ValidationResult).Option.none()Set<VersionService.ValidationResult.Reason> getReasons()
ErrorCollection getErrorCollection()
VersionService.ValidationResult.Action getAction()
Copyright © 2002-2017 Atlassian. All Rights Reserved.