com.atlassian.jira.issue.context
Class GlobalIssueContext

java.lang.Object
  extended by com.atlassian.jira.issue.context.AbstractJiraContext
      extended by com.atlassian.jira.issue.context.GlobalIssueContext
All Implemented Interfaces:
com.atlassian.bandana.BandanaContext, IssueContext, JiraContextNode, Serializable, Comparable<JiraContextNode>

@PublicApi
public class GlobalIssueContext
extends AbstractJiraContext

See Also:
Serialized Form

Field Summary
static String GLOBAL_CONTEXT_STR
           
 
Fields inherited from interface com.atlassian.jira.issue.context.JiraContextNode
FIELD_PROJECT, FIELD_PROJECT_CATEGORY
 
Constructor Summary
GlobalIssueContext(JiraContextTreeManager treeManager)
           
 
Method Summary
 Map<String,Object> appendToParamsMap(Map<String,Object> input)
          Copy the supplied parameters and add new ones.
static JiraContextNode getInstance()
           
 org.ofbiz.core.entity.GenericValue getIssueType()
          Gets the IssueType for this IssueContext.
 IssueType getIssueTypeObject()
          Gets the IssueType for this IssueContext.
 com.atlassian.bandana.BandanaContext getParentContext()
           
 org.ofbiz.core.entity.GenericValue getProject()
          Gets the Project for this IssueContext.
 org.ofbiz.core.entity.GenericValue getProjectCategory()
           
 ProjectCategory getProjectCategoryObject()
           
 Project getProjectObject()
          Gets the Project for this IssueContext.
 boolean hasParentContext()
           
 boolean isInContext(IssueContext issueContext)
           
 String toString()
           
 
Methods inherited from class com.atlassian.jira.issue.context.AbstractJiraContext
compareTo, equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

GLOBAL_CONTEXT_STR

public static final String GLOBAL_CONTEXT_STR
See Also:
Constant Field Values
Constructor Detail

GlobalIssueContext

public GlobalIssueContext(JiraContextTreeManager treeManager)
Method Detail

appendToParamsMap

public Map<String,Object> appendToParamsMap(Map<String,Object> input)
Description copied from interface: JiraContextNode
Copy the supplied parameters and add new ones.

Parameters:
input - to copy from
Returns:
the copied map

getIssueTypeObject

public IssueType 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

public org.ofbiz.core.entity.GenericValue 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).

getProjectObject

public Project 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).

getProject

public org.ofbiz.core.entity.GenericValue getProject()
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).

getProjectCategory

public org.ofbiz.core.entity.GenericValue getProjectCategory()
Returns:
ProjectCategory

getProjectCategoryObject

public ProjectCategory getProjectCategoryObject()

isInContext

public boolean isInContext(IssueContext issueContext)
Specified by:
isInContext in interface JiraContextNode
Overrides:
isInContext in class AbstractJiraContext

getParentContext

public com.atlassian.bandana.BandanaContext getParentContext()

hasParentContext

public boolean hasParentContext()

getInstance

public static JiraContextNode getInstance()

toString

public String toString()
Overrides:
toString in class AbstractJiraContext


Copyright © 2002-2013 Atlassian. All Rights Reserved.