public class CanAttachFileToIssueCondition extends AbstractIssueWebCondition
An issue must be in the JiraHelper context params.
Constructor and Description |
---|
CanAttachFileToIssueCondition(AttachmentService attachmentService) |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldDisplay(ApplicationUser user,
Issue issue,
JiraHelper jiraHelper)
Should we display this item for this issue?
|
shouldDisplay
getApplicationUser, init, shouldDisplay
public CanAttachFileToIssueCondition(AttachmentService attachmentService)
public boolean shouldDisplay(ApplicationUser user, Issue issue, JiraHelper jiraHelper)
AbstractIssueWebCondition
shouldDisplay
in class AbstractIssueWebCondition
user
- The current userissue
- The issue we are displaying againstjiraHelper
- The JiraHelperCopyright © 2002-2023 Atlassian. All Rights Reserved.