Class NoAttachmentsCondition

All Implemented Interfaces:
com.atlassian.plugin.web.api.baseconditions.BaseCondition, com.atlassian.plugin.web.Condition

public class NoAttachmentsCondition extends AbstractIssueWebCondition
Condition that determines whether given issue does not have any attachments
Since:
6.4
  • Constructor Details

    • NoAttachmentsCondition

      public NoAttachmentsCondition()
  • Method Details

    • shouldDisplay

      public boolean shouldDisplay(ApplicationUser applicationUser, Issue issue, JiraHelper jiraHelper)
      Description copied from class: AbstractIssueWebCondition
      Should we display this item for this issue?
      Specified by:
      shouldDisplay in class AbstractIssueWebCondition
      Parameters:
      applicationUser - The current user
      issue - The issue we are displaying against
      jiraHelper - The JiraHelper
      Returns:
      true if we should display this item, false otherwise