Package com.atlassian.jira.issue.context
Class IssueContextImpl
java.lang.Object
com.atlassian.jira.issue.context.IssueContextImpl
- All Implemented Interfaces:
IssueContext,Comparable
-
Field Summary
Fields inherited from interface com.atlassian.jira.issue.context.IssueContext
GLOBAL -
Constructor Summary
ConstructorsConstructorDescriptionIssueContextImpl(Project project, IssueType issueType) Create a context.IssueContextImpl(Long projectId, String issueTypeId) Create a context. -
Method Summary
Modifier and TypeMethodDescriptionintbooleanGets 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.inthashCode()toString()
-
Constructor Details
-
IssueContextImpl
Create a context.- Parameters:
projectId- Project ID, or null if field is not scoped by project.issueTypeId- IssueType ID, or null if field is not scoped by issue type.
-
IssueContextImpl
Create a context.- Parameters:
project- Project, or null if field is not scoped by project.issueType- IssueType, or null if field is not scoped by issue type.
-
-
Method Details
-
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.
- Specified by:
getProjectObjectin interfaceIssueContext- 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.
- Specified by:
getProjectIdin interfaceIssueContext- Returns:
- The ID of the Project 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.
- Specified by:
getIssueTypein interfaceIssueContext- Returns:
- The IssueType for this IssueContext (can be null).
-
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.
- Specified by:
getIssueTypeObjectin interfaceIssueContext- 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.
- Specified by:
getIssueTypeIdin interfaceIssueContext- Returns:
- The ID of the IssueType for this IssueContext (can be null).
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable
-
toString
-