com.atlassian.jira.jql.context
Class ClauseContextImpl
java.lang.Object
com.atlassian.jira.jql.context.ClauseContextImpl
- All Implemented Interfaces:
- ClauseContext
public class ClauseContextImpl
- extends Object
- implements ClauseContext
- Since:
- v4.0
ClauseContextImpl
public ClauseContextImpl()
ClauseContextImpl
public ClauseContextImpl(Set<ProjectIssueTypeContext> contexts)
createGlobalClauseContext
public static ClauseContext createGlobalClauseContext()
- Returns:
- a
ClauseContextImpl
containing a single
ProjectIssueTypeContext
which represents the All Projects/All Issue Types context.
getContexts
public Set<ProjectIssueTypeContext> getContexts()
- Specified by:
getContexts
in interface ClauseContext
- Returns:
- the project/issue type contexts that are defined by a clause.
containsGlobalContext
public boolean containsGlobalContext()
- Specified by:
containsGlobalContext
in interface ClauseContext
- Returns:
- true if one of the contexts is the same as ProjectIssueTypeContextImpl.createGlobalContext().
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2002-2012 Atlassian. All Rights Reserved.