Package com.atlassian.jira.bc.issue
Class IssueService.CloneValidationResult
java.lang.Object
com.atlassian.jira.bc.ServiceResultImpl
com.atlassian.jira.bc.issue.IssueService.CloneValidationResult
- All Implemented Interfaces:
ServiceResult
,Serializable
- Enclosing interface:
- IssueService
A simple result object that holds the information required to make a successful issue clone. This object
should not be constructed directly, you should invoke the
IssueService.validateClone(ApplicationUser, Issue, String, boolean, boolean, boolean, Map)
method to obtain this.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCloneValidationResult
(Issue issue, ErrorCollection errors, String summary, boolean cloneAttachments, boolean cloneSubTasks, boolean cloneLinks, Map<CustomField, Optional<Boolean>> cloneOptionSelections) -
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
-
CloneValidationResult
public CloneValidationResult(Issue issue, ErrorCollection errors, String summary, boolean cloneAttachments, boolean cloneSubTasks, boolean cloneLinks, Map<CustomField, Optional<Boolean>> cloneOptionSelections)
-
-
Method Details
-
getIssue
-
getSummary
-
isCloneAttachments
public boolean isCloneAttachments() -
isCloneSubTasks
public boolean isCloneSubTasks() -
isCloneLinks
public boolean isCloneLinks() -
getCloneOptionSelections
-