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
GLOBALFields 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 JiraContextNodeGets 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.booleanbooleanisInContext(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:JiraContextNodeCopy the supplied parameters and add new ones.- Parameters:
input- to copy from- Returns:
- the copied map
-
getIssueTypeObject
Description copied from interface:IssueContextGets 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:IssueContextGets 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:IssueContextGets 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:IssueContextGets 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:IssueContextGets 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:
isInContextin interfaceJiraContextNode- Overrides:
isInContextin 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:
toStringin classAbstractJiraContext
-