public class CloneIssueCommand extends Object implements Callable<CloneIssueCommand.CloneIssueResult>, ProvidesTaskProgress
Modifier and Type | Class and Description |
---|---|
static class |
CloneIssueCommand.CloneIssueResult |
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
CloneIssueCommand.CloneIssueResult |
call() |
IssueLinkType |
getCloneIssueLinkType() |
List<CustomField> |
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
|
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)
public CloneIssueCommand.CloneIssueResult call()
call
in interface Callable<CloneIssueCommand.CloneIssueResult>
public IssueLinkType getCloneIssueLinkType()
public boolean isCanModifyReporter(ApplicationUser user, Issue issue)
public List<CustomField> getCustomFields(Issue issue)
public void setTaskProgressSink(TaskProgressSink taskProgressSink)
ProvidesTaskProgress
setTaskProgressSink
in interface ProvidesTaskProgress
taskProgressSink
- a TaskProgressSink that can be used to send task progress information toCopyright © 2002-2024 Atlassian. All Rights Reserved.