@PublicApi public class ProjectContext extends AbstractJiraContext
Modifier and Type | Field and Description |
---|---|
protected Long |
projectCategory |
protected Long |
projectId |
FIELD_PROJECT
GLOBAL
Constructor and Description |
---|
ProjectContext(IssueContext issueContext,
JiraContextTreeManager treeManager)
Deprecated.
Use
ProjectContext(Long, com.atlassian.jira.project.ProjectManager) instead. Since v6.4. |
ProjectContext(Long projectId) |
ProjectContext(Long projectId,
JiraContextTreeManager treeManager)
Deprecated.
Use
ProjectContext(Long, com.atlassian.jira.project.ProjectManager) instead. Since v6.4. |
ProjectContext(Long projectId,
ProjectManager projectManager) |
ProjectContext(Project project,
JiraContextTreeManager treeManager)
Deprecated.
Use
ProjectContext(Long, com.atlassian.jira.project.ProjectManager) instead. Since v6.4. |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
appendToParamsMap(Map<String,Object> input)
Copy the supplied parameters and add new ones.
|
boolean |
equals(Object o) |
IssueType |
getIssueType()
Gets the IssueType for this IssueContext.
|
String |
getIssueTypeId()
Gets the ID of the IssueType for this IssueContext.
|
IssueType |
getIssueTypeObject()
Gets the IssueType for this IssueContext.
|
JiraContextNode |
getParent() |
Long |
getProjectId()
Gets the ID of the Project for this IssueContext.
|
Project |
getProjectObject()
Gets the Project for this IssueContext.
|
int |
hashCode() |
boolean |
hasParentContext() |
String |
toString() |
compareTo, isInContext
public ProjectContext(Long projectId)
public ProjectContext(Long projectId, JiraContextTreeManager treeManager)
ProjectContext(Long, com.atlassian.jira.project.ProjectManager)
instead. Since v6.4.public ProjectContext(Long projectId, ProjectManager projectManager)
public ProjectContext(Project project, JiraContextTreeManager treeManager)
ProjectContext(Long, com.atlassian.jira.project.ProjectManager)
instead. Since v6.4.public ProjectContext(IssueContext issueContext, JiraContextTreeManager treeManager)
ProjectContext(Long, com.atlassian.jira.project.ProjectManager)
instead. Since v6.4.public JiraContextNode getParent()
public boolean hasParentContext()
public Map<String,Object> appendToParamsMap(Map<String,Object> input)
JiraContextNode
input
- to copy frompublic Project getProjectObject()
IssueContext
A null return value is used to represent that this context applies to all Projects.
public Long getProjectId()
IssueContext
A null return value is used to represent that this context applies to all Projects.
public IssueType getIssueTypeObject()
IssueContext
A null return value is used to represent that this context applies to all IssueTypes.
public IssueType getIssueType()
IssueContext
A null return value is used to represent that this context applies to all IssueTypes.
public String getIssueTypeId()
IssueContext
A null return value is used to represent that this context applies to all IssueTypes.
public boolean equals(Object o)
equals
in class AbstractJiraContext
public int hashCode()
hashCode
in class AbstractJiraContext
public String toString()
toString
in class AbstractJiraContext
Copyright © 2002-2017 Atlassian. All Rights Reserved.