com.atlassian.jira.jql.context
Class AllProjectsContext
java.lang.Object
com.atlassian.jira.jql.context.AllProjectsContext
- All Implemented Interfaces:
- ProjectContext
public class AllProjectsContext
- extends Object
- implements ProjectContext
Represents the specicial case of all projects, in an unenumerated form.
- Since:
- v4.0
INSTANCE
public static final AllProjectsContext INSTANCE
getInstance
public AllProjectsContext getInstance()
getProjectId
public 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(Object o)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2002-2011 Atlassian. All Rights Reserved.