com.atlassian.jira.jql.values
Class ClauseValuesGenerator.Result

java.lang.Object
  extended by com.atlassian.jira.jql.values.ClauseValuesGenerator.Result
Enclosing interface:
ClauseValuesGenerator

public static class ClauseValuesGenerator.Result
extends Object


Constructor Summary
ClauseValuesGenerator.Result(String value)
           
ClauseValuesGenerator.Result(String value, String displayName)
           
ClauseValuesGenerator.Result(String value, String[] displayNameParts)
          Use this if you want to have multiple portions of your display string that will be concatenated with a space in between.
 
Method Summary
 boolean equals(Object o)
           
 String[] getDisplayNameParts()
           
 String getValue()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClauseValuesGenerator.Result

public ClauseValuesGenerator.Result(String value)

ClauseValuesGenerator.Result

public ClauseValuesGenerator.Result(String value,
                                    String displayName)

ClauseValuesGenerator.Result

public ClauseValuesGenerator.Result(String value,
                                    String[] displayNameParts)
Use this if you want to have multiple portions of your display string that will be concatenated with a space in between. Each portion of this display part will be anaylized for the matching string and will have bold tags around the matching parts.

Parameters:
value - the value that will be used to complete.
displayNameParts - the parts of the display name that will be used to show the user what matched, will be searched for matching string.
Method Detail

getValue

public String getValue()

getDisplayNameParts

public String[] getDisplayNameParts()

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.