Class WatchesIndexValueConverter

java.lang.Object
com.atlassian.jira.jql.util.WatchesIndexValueConverter
All Implemented Interfaces:
IndexValueConverter

@InjectableComponent public class WatchesIndexValueConverter extends Object implements IndexValueConverter
Converts a query literal into the watches index representation. Must be positive number, otherwise null is returned.
Since:
v4.4
  • Constructor Details

    • WatchesIndexValueConverter

      public WatchesIndexValueConverter()
  • Method Details

    • convertToIndexValue

      public String convertToIndexValue(QueryLiteral rawValue)
      Specified by:
      convertToIndexValue in interface IndexValueConverter
      Parameters:
      rawValue - the query literal to convert
      Returns:
      the string of the index representation, null if the conversion fails