Class ProjectOperation
java.lang.Object
com.atlassian.jira.plugin.projectoperation.AbstractPluggableProjectOperation
com.atlassian.jira.dev.reference.plugin.project.ProjectOperation
- All Implemented Interfaces:
PluggableProjectOperation
Simple tests class for project operation.
- Since:
- v4.4
-
Field Summary
Fields inherited from class com.atlassian.jira.plugin.projectoperation.AbstractPluggableProjectOperation
descriptor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetHtml(Project project, ApplicationUser user) Get the HTML to present on screenbooleanshowOperation(Project project, ApplicationUser user) Whether or not to show this operation for the given project and user.Methods inherited from class com.atlassian.jira.plugin.projectoperation.AbstractPluggableProjectOperation
init
-
Constructor Details
-
ProjectOperation
-
-
Method Details
-
getHtml
Description copied from interface:PluggableProjectOperationGet the HTML to present on screen- Parameters:
project- Provide the project in case we need any project specific information to render the HTMLuser- The currently logged in user- Returns:
- HTML representation for this project operation.
-
showOperation
Description copied from interface:PluggableProjectOperationWhether or not to show this operation for the given project and user.- Parameters:
project- Project being vieweduser- The currently logged in user- Returns:
- true, if the link should be shown
-