com.atlassian.jira.jql.context
Class AllProjectsContext
java.lang.Object
com.atlassian.jira.jql.context.AllProjectsContext
- All Implemented Interfaces:
- ProjectContext
public class AllProjectsContext
- extends java.lang.Object
- implements ProjectContext
Represents the specicial case of all projects, in an unenumerated form.
- Since:
- v4.0
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
INSTANCE
public static final AllProjectsContext INSTANCE
getInstance
public AllProjectsContext getInstance()
getProjectId
public java.lang.Long getProjectId()
- Specified by:
getProjectId
in interface ProjectContext
- Returns:
- the project id for this context element.
isAll
public boolean isAll()
- Description copied from interface:
ProjectContext
- Indicates the special case of all projects that are not enumerated. If this is true then the value for
projectId will be null.
- Specified by:
isAll
in interface ProjectContext
- Returns:
- true if all, false otherwise.
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2002-2010 Atlassian. All Rights Reserved.