com.atlassian.studio.jira.operation
Class JiraStudioLinkProjectOperation

java.lang.Object
  extended by com.atlassian.jira.plugin.projectoperation.AbstractPluggableProjectOperation
      extended by com.atlassian.jira.plugin.projectoperation.DefaultPluggableProjectOperation
          extended by com.atlassian.studio.jira.operation.JiraStudioLinkProjectOperation
All Implemented Interfaces:
PluggableProjectOperation

public class JiraStudioLinkProjectOperation
extends DefaultPluggableProjectOperation


Field Summary
 
Fields inherited from class com.atlassian.jira.plugin.projectoperation.AbstractPluggableProjectOperation
descriptor
 
Constructor Summary
JiraStudioLinkProjectOperation(com.atlassian.sal.api.message.I18nResolver i18n)
           
 
Method Summary
protected  String getContentHtml(Project project, com.atlassian.crowd.embedded.api.User user)
           
protected  String getLabelHtml(Project project, com.atlassian.crowd.embedded.api.User user)
           
 boolean showOperation(Project project, com.atlassian.crowd.embedded.api.User user)
          Whether or not to show this operation for the given project and user.
 
Methods inherited from class com.atlassian.jira.plugin.projectoperation.DefaultPluggableProjectOperation
getHtml
 
Methods inherited from class com.atlassian.jira.plugin.projectoperation.AbstractPluggableProjectOperation
init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JiraStudioLinkProjectOperation

public JiraStudioLinkProjectOperation(com.atlassian.sal.api.message.I18nResolver i18n)
Method Detail

getLabelHtml

protected String getLabelHtml(Project project,
                              com.atlassian.crowd.embedded.api.User user)
Specified by:
getLabelHtml in class DefaultPluggableProjectOperation

getContentHtml

protected String getContentHtml(Project project,
                                com.atlassian.crowd.embedded.api.User user)
Specified by:
getContentHtml in class DefaultPluggableProjectOperation

showOperation

public boolean showOperation(Project project,
                             com.atlassian.crowd.embedded.api.User 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


Copyright © 2002-2012 Atlassian. All Rights Reserved.