Class ProjectOperation

java.lang.Object
com.atlassian.jira.plugin.projectoperation.AbstractPluggableProjectOperation
com.atlassian.jira.dev.reference.plugin.project.ProjectOperation
All Implemented Interfaces:
PluggableProjectOperation

public class ProjectOperation extends AbstractPluggableProjectOperation
Simple tests class for project operation.
Since:
v4.4
  • Constructor Details

  • Method Details

    • getHtml

      public String getHtml(Project project, ApplicationUser user)
      Description copied from interface: PluggableProjectOperation
      Get the HTML to present on screen
      Parameters:
      project - Provide the project in case we need any project specific information to render the HTML
      user - The currently logged in user
      Returns:
      HTML representation for this project operation.
    • showOperation

      public boolean showOperation(Project project, ApplicationUser user)
      Description copied from interface: PluggableProjectOperation
      Whether or not to show this operation for the given project and user.
      Parameters:
      project - Project being viewed
      user - The currently logged in user
      Returns:
      true, if the link should be shown