Package com.atlassian.jira.issue.context
Class GlobalIssueContext
java.lang.Object
com.atlassian.jira.issue.context.AbstractJiraContext
com.atlassian.jira.issue.context.GlobalIssueContext
- All Implemented Interfaces:
IssueContext
,JiraContextNode
,Comparable<JiraContextNode>
-
Field Summary
FieldsFields inherited from interface com.atlassian.jira.issue.context.IssueContext
GLOBAL
Fields inherited from interface com.atlassian.jira.issue.context.JiraContextNode
FIELD_PROJECT
-
Method Summary
Modifier and TypeMethodDescriptionappendToParamsMap
(Map<String, Object> input) Copy the supplied parameters and add new ones.static JiraContextNode
Gets the IssueType for this IssueContext.Gets the ID of the IssueType for this IssueContext.Gets the IssueType for this IssueContext.Gets the ID of the Project for this IssueContext.Gets the Project for this IssueContext.boolean
boolean
isInContext
(IssueContext issueContext) toString()
Methods inherited from class com.atlassian.jira.issue.context.AbstractJiraContext
compareTo, equals, hashCode
-
Field Details
-
GLOBAL_CONTEXT_STR
- See Also:
-
-
Method Details
-
appendToParamsMap
Description copied from interface:JiraContextNode
Copy the supplied parameters and add new ones.- Parameters:
input
- to copy from- Returns:
- the copied map
-
getIssueTypeObject
Description copied from interface:IssueContext
Gets the IssueType for this IssueContext.A null return value is used to represent that this context applies to all IssueTypes.
- Returns:
- The IssueType for this IssueContext (can be null).
-
getIssueType
Description copied from interface:IssueContext
Gets the IssueType for this IssueContext.A null return value is used to represent that this context applies to all IssueTypes.
- Returns:
- The IssueType for this IssueContext (can be null).
-
getIssueTypeId
Description copied from interface:IssueContext
Gets the ID of the IssueType for this IssueContext.A null return value is used to represent that this context applies to all IssueTypes.
- Returns:
- The ID of the IssueType for this IssueContext (can be null).
-
getProjectObject
Description copied from interface:IssueContext
Gets the Project for this IssueContext.A null return value is used to represent that this context applies to all Projects.
- Returns:
- The Project for this IssueContext (can be null).
-
getProjectId
Description copied from interface:IssueContext
Gets the ID of the Project for this IssueContext.A null return value is used to represent that this context applies to all Projects.
- Returns:
- The ID of the Project for this IssueContext (can be null).
-
isInContext
- Specified by:
isInContext
in interfaceJiraContextNode
- Overrides:
isInContext
in classAbstractJiraContext
-
getParent
- Returns:
- This context's parent, or null if it is the root context.
-
hasParentContext
public boolean hasParentContext()- Returns:
- Whether or not this context has a parent context.
-
getInstance
-
toString
- Overrides:
toString
in classAbstractJiraContext
-