public class IssueContextImpl extends Object implements IssueContext, Comparable
GLOBAL| Constructor and Description |
|---|
IssueContextImpl(Long projectId,
String issueTypeId)
Create a context.
|
IssueContextImpl(Project project,
IssueType issueType)
Create a context.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object obj) |
boolean |
equals(Object o) |
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.
|
Long |
getProjectId()
Gets the ID of the Project for this IssueContext.
|
Project |
getProjectObject()
Gets the Project for this IssueContext.
|
int |
hashCode() |
String |
toString() |
public IssueContextImpl(@Nullable Long projectId, @Nullable String issueTypeId)
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.public Project getProjectObject()
IssueContextA null return value is used to represent that this context applies to all Projects.
getProjectObject in interface IssueContextpublic Long getProjectId()
IssueContextA null return value is used to represent that this context applies to all Projects.
getProjectId in interface IssueContextpublic IssueType getIssueType()
IssueContextA null return value is used to represent that this context applies to all IssueTypes.
getIssueType in interface IssueContextpublic IssueType getIssueTypeObject()
IssueContextA null return value is used to represent that this context applies to all IssueTypes.
getIssueTypeObject in interface IssueContextpublic String getIssueTypeId()
IssueContextA null return value is used to represent that this context applies to all IssueTypes.
getIssueTypeId in interface IssueContextpublic int compareTo(Object obj)
compareTo in interface ComparableCopyright © 2002-2019 Atlassian. All Rights Reserved.