public class

IssueContextImpl

extends Object
implements IssueContext Comparable<T>
java.lang.Object
   ↳ com.atlassian.jira.issue.context.IssueContextImpl

Summary

[Expand]
Inherited Fields
From interface com.atlassian.jira.issue.context.IssueContext
Public Constructors
IssueContextImpl(Long projectId, String issueTypeId)
Create a context.
IssueContextImpl(Project project, IssueType issueType)
Create a context.
Public Methods
int compareTo(Object obj)
boolean equals(Object o)
GenericValue 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.
GenericValue getProject()
Gets the Project 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()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.issue.context.IssueContext
From interface java.lang.Comparable

Public Constructors

public IssueContextImpl (Long projectId, String issueTypeId)

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.

public IssueContextImpl (Project project, IssueType issueType)

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.

Public Methods

public int compareTo (Object obj)

public boolean equals (Object o)

public GenericValue getIssueType ()

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

public String getIssueTypeId ()

Gets 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).

public IssueType getIssueTypeObject ()

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

public GenericValue getProject ()

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

public Long getProjectId ()

Gets 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).

public Project getProjectObject ()

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

public int hashCode ()

public String toString ()