public static final class CloneIssueCommand.CloneIssueResult extends Object implements Serializable
| Constructor and Description |
|---|
CloneIssueResult(String issueKey,
Collection<io.atlassian.fugue.Either<AttachmentError,Attachment>> attachmentCloneResults) |
CloneIssueResult(String issueKey,
ErrorCollection errorCollection,
Collection<io.atlassian.fugue.Either<AttachmentError,Attachment>> attachmentCloneResults) |
| Modifier and Type | Method and Description |
|---|---|
long |
getAttachmentCloneCount() |
long |
getAttachmentCloneErrorCount() |
ErrorCollection |
getErrorCollection() |
String |
getIssueKey() |
boolean |
isSuccessful() |
public CloneIssueResult(@Nullable String issueKey, @Nonnull ErrorCollection errorCollection, @Nonnull Collection<io.atlassian.fugue.Either<AttachmentError,Attachment>> attachmentCloneResults)
issueKey - the issue keyerrorCollection - an error collection representing any errors that occurred during the cloneattachmentCloneResults - a collection of attachment clone resultspublic CloneIssueResult(@Nullable String issueKey, @Nonnull Collection<io.atlassian.fugue.Either<AttachmentError,Attachment>> attachmentCloneResults)
issueKey - the issue keyattachmentCloneResults - a collection of attachment clone resultspublic String getIssueKey()
public ErrorCollection getErrorCollection()
public boolean isSuccessful()
public long getAttachmentCloneErrorCount()
public long getAttachmentCloneCount()
Copyright © 2002-2024 Atlassian. All Rights Reserved.