Package com.atlassian.jira.jql.util
Class VotesIndexValueConverter
java.lang.Object
com.atlassian.jira.jql.util.VotesIndexValueConverter
- All Implemented Interfaces:
IndexValueConverter
@InjectableComponent
public class VotesIndexValueConverter
extends Object
implements IndexValueConverter
Converts a query literal into the votes index representation. Must be
positive number, otherwise null is returned.
- Since:
- v4.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
VotesIndexValueConverter
public VotesIndexValueConverter()
-
-
Method Details
-
convertToIndexValue
- Specified by:
convertToIndexValuein interfaceIndexValueConverter- Parameters:
rawValue- the query literal to convert- Returns:
- the string of the index representation, null if the conversion fails
-