@PublicApi public class GlobalIssueContext extends AbstractJiraContext
Modifier and Type | Field and Description |
---|---|
static String |
GLOBAL_CONTEXT_STR |
FIELD_PROJECT
GLOBAL
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
appendToParamsMap(Map<String,Object> input)
Copy the supplied parameters and add new ones.
|
static JiraContextNode |
getInstance() |
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.
|
boolean |
hasParentContext() |
boolean |
isInContext(IssueContext issueContext) |
String |
toString() |
compareTo, equals, hashCode
public static final String GLOBAL_CONTEXT_STR
public Map<String,Object> appendToParamsMap(Map<String,Object> input)
JiraContextNode
input
- to copy frompublic 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 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 boolean isInContext(IssueContext issueContext)
isInContext
in interface JiraContextNode
isInContext
in class AbstractJiraContext
public JiraContextNode getParent()
public boolean hasParentContext()
public static JiraContextNode getInstance()
public String toString()
toString
in class AbstractJiraContext
Copyright © 2002-2024 Atlassian. All Rights Reserved.