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()
IssueContext
A null return value is used to represent that this context applies to all Projects.
getProjectObject
in interface IssueContext
public Long getProjectId()
IssueContext
A null return value is used to represent that this context applies to all Projects.
getProjectId
in interface IssueContext
public IssueType getIssueType()
IssueContext
A null return value is used to represent that this context applies to all IssueTypes.
getIssueType
in interface IssueContext
public IssueType getIssueTypeObject()
IssueContext
A null return value is used to represent that this context applies to all IssueTypes.
getIssueTypeObject
in interface IssueContext
public String getIssueTypeId()
IssueContext
A null return value is used to represent that this context applies to all IssueTypes.
getIssueTypeId
in interface IssueContext
public int compareTo(Object obj)
compareTo
in interface Comparable
Copyright © 2002-2015 Atlassian. All Rights Reserved.