com.atlassian.greenhopper.plugin.link
Interface LinkContext

All Known Implementing Classes:
DefaultLinkContext

public interface LinkContext

Context object provided to LinkProvider objects.

Author:
miruflin

Method Summary
 java.lang.String getBoardId()
          Get the id of the board.
 java.lang.String getBoardType()
          Get the board type.
 java.lang.String getByAssignee()
          Assignee "filter" value.
 java.lang.String getByVersion()
          Version "filter" value.
 com.atlassian.jira.issue.Issue getIssue()
          Get the issue
 java.lang.Long getIssueId()
          Get the issue id.
 java.lang.String getIssueKey()
          Get the issue key.
 com.atlassian.jira.project.Project getProject()
          Get the project.
 com.atlassian.crowd.embedded.api.User getUser()
          Get the current user.
 

Method Detail

getProject

com.atlassian.jira.project.Project getProject()
Get the project.

Returns:
the project object

getUser

com.atlassian.crowd.embedded.api.User getUser()
Get the current user.

Returns:
the user, might be null

getBoardId

java.lang.String getBoardId()
Get the id of the board.

Returns:
the id, and commonly -1 for none

getBoardType

java.lang.String getBoardType()
Get the board type.

Returns:
the name of the board, e.g. versionBoard.

getIssueId

java.lang.Long getIssueId()
Get the issue id.

Returns:
the issue id or null if not applicable

getIssueKey

java.lang.String getIssueKey()
Get the issue key.

Returns:
the issue key or null if not applicable

getIssue

com.atlassian.jira.issue.Issue getIssue()
Get the issue

Returns:
the issue or null if not applicable

getByAssignee

java.lang.String getByAssignee()
Assignee "filter" value. Note that this does not apply to the assignee board, in which case the board id is the selected assignee.

Returns:
the assignee drop down value

getByVersion

java.lang.String getByVersion()
Version "filter" value. Note that this does not apply to the version board, in which case the board id is the selected version.

Returns:
the version drop down value


Copyright © 2007-2012 Atlassian. All Rights Reserved.