@Deprecated public class

LazyIssueContext

extends Object
implements IssueContext
java.lang.Object
   ↳ com.atlassian.jira.issue.context.LazyIssueContext

This class is deprecated.
Use IssueContextImpl instead. Since v6.1.

Class Overview

This class offers no real advantage over IssueContextImpl except that it does the component accessor lookups exactly once regardless of how many times you call its getters. If that's worth doing, then it's worth doing in IssueContextImpl too. Otherwise this class's functionality is identical except that it does not offer equals and hashCode implementations. There really isn't any point in using it.

Summary

[Expand]
Inherited Fields
From interface com.atlassian.jira.issue.context.IssueContext
Public Constructors
LazyIssueContext(Long projectId, String issueTypeId)
Public Methods
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.
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.issue.context.IssueContext

Public Constructors

public LazyIssueContext (Long projectId, String issueTypeId)

Public Methods

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 String toString ()