com.atlassian.jira.issue.search
Class ClauseNames

java.lang.Object
  extended by com.atlassian.jira.issue.search.ClauseNames

@PublicApi
public final class ClauseNames
extends Object

Represents a JQL clause name. The primary name is the name which uniquely identifies the clause, the names is a set of alternate names that the clause can be known as.

Since:
v4.0

Constructor Summary
ClauseNames(String primaryName)
           
ClauseNames(String primaryName, Set<String> names)
           
ClauseNames(String primaryName, String... names)
           
 
Method Summary
 boolean contains(String name)
           
 boolean equals(Object o)
           
static ClauseNames forCustomField(CustomField field)
           
 Set<String> getJqlFieldNames()
           
 String getPrimaryName()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClauseNames

public ClauseNames(String primaryName)

ClauseNames

public ClauseNames(String primaryName,
                   String... names)

ClauseNames

public ClauseNames(String primaryName,
                   Set<String> names)
Method Detail

getJqlFieldNames

public Set<String> getJqlFieldNames()

getPrimaryName

public String getPrimaryName()

contains

public boolean contains(String name)

forCustomField

public static ClauseNames forCustomField(CustomField field)

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-2015 Atlassian. All Rights Reserved.