@PublicApi public class ProjectContext extends AbstractJiraContext
| Modifier and Type | Field and Description |
|---|---|
protected Long |
projectCategory |
protected Long |
projectId |
FIELD_PROJECTGLOBAL| 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, isInContextpublic 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)
JiraContextNodeinput - to copy frompublic Project getProjectObject()
IssueContextA null return value is used to represent that this context applies to all Projects.
public Long getProjectId()
IssueContextA null return value is used to represent that this context applies to all Projects.
public IssueType getIssueTypeObject()
IssueContextA null return value is used to represent that this context applies to all IssueTypes.
public IssueType getIssueType()
IssueContextA null return value is used to represent that this context applies to all IssueTypes.
public String getIssueTypeId()
IssueContextA null return value is used to represent that this context applies to all IssueTypes.
public boolean equals(Object o)
equals in class AbstractJiraContextpublic int hashCode()
hashCode in class AbstractJiraContextpublic String toString()
toString in class AbstractJiraContextCopyright © 2002-2017 Atlassian. All Rights Reserved.