public class ProjectOperation extends AbstractPluggableProjectOperation
descriptor
Constructor and Description |
---|
ProjectOperation(PermissionManager permissionManager) |
Modifier and Type | Method and Description |
---|---|
String |
getHtml(Project project,
ApplicationUser user)
Get the HTML to present on screen
|
boolean |
showOperation(Project project,
ApplicationUser user)
Whether or not to show this operation for the given project and user.
|
init
public ProjectOperation(PermissionManager permissionManager)
public String getHtml(Project project, ApplicationUser user)
PluggableProjectOperation
project
- Provide the project in case we need any project specific information to render the HTMLuser
- The currently logged in userpublic boolean showOperation(Project project, ApplicationUser user)
PluggableProjectOperation
project
- Project being vieweduser
- The currently logged in userCopyright © 2002-2019 Atlassian. All Rights Reserved.