Package com.atlassian.jira.bc.issue
Class CloneIssueCommand
java.lang.Object
com.atlassian.jira.bc.issue.CloneIssueCommand
- All Implemented Interfaces:
ProvidesTaskProgress
,Callable<CloneIssueCommand.CloneIssueResult>
public class CloneIssueCommand
extends Object
implements Callable<CloneIssueCommand.CloneIssueResult>, ProvidesTaskProgress
Background command for assigning a new issue security scheme to a project
- Since:
- v7.1.1
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionCloneIssueCommand
(ApplicationUser user, Issue originalIssue, String summary, boolean cloneAttachments, boolean cloneSubTasks, boolean cloneLinks, Map<CustomField, Optional<Boolean>> cloneOptionSelections, IssueManager issueManager, IssueFactory issueFactory, ApplicationProperties applicationProperties, IssueLinkTypeManager issueLinkTypeManager, IssueLinkManager issueLinkManager, RemoteIssueLinkManager remoteIssueLinkManager, AttachmentManager attachmentManager, AttachmentConfigManager attachmentConfigManager, SubTaskManager subTaskManager, PermissionManager permissionManager, CustomFieldManager customFieldManager, org.slf4j.Logger log, I18nHelper i18nHelper, BarrierFactory barrierFactory) -
Method Summary
Modifier and TypeMethodDescriptioncall()
getCustomFields
(Issue issue) boolean
isCanModifyReporter
(ApplicationUser user, Issue issue) void
setTaskProgressSink
(TaskProgressSink taskProgressSink) This is called to set in a TaskProgressSink that can be used to send task progress information to
-
Constructor Details
-
CloneIssueCommand
public CloneIssueCommand(ApplicationUser user, Issue originalIssue, String summary, boolean cloneAttachments, boolean cloneSubTasks, boolean cloneLinks, Map<CustomField, Optional<Boolean>> cloneOptionSelections, IssueManager issueManager, IssueFactory issueFactory, ApplicationProperties applicationProperties, IssueLinkTypeManager issueLinkTypeManager, IssueLinkManager issueLinkManager, RemoteIssueLinkManager remoteIssueLinkManager, AttachmentManager attachmentManager, AttachmentConfigManager attachmentConfigManager, SubTaskManager subTaskManager, PermissionManager permissionManager, CustomFieldManager customFieldManager, org.slf4j.Logger log, I18nHelper i18nHelper, BarrierFactory barrierFactory)
-
-
Method Details
-
call
- Specified by:
call
in interfaceCallable<CloneIssueCommand.CloneIssueResult>
-
getCloneIssueLinkType
-
isCanModifyReporter
-
getCustomFields
-
setTaskProgressSink
Description copied from interface:ProvidesTaskProgress
This is called to set in a TaskProgressSink that can be used to send task progress information to- Specified by:
setTaskProgressSink
in interfaceProvidesTaskProgress
- Parameters:
taskProgressSink
- a TaskProgressSink that can be used to send task progress information to
-