Class ResolverManagerImpl

java.lang.Object
com.atlassian.jira.jql.resolver.ResolverManagerImpl
All Implemented Interfaces:
ResolverManager

public class ResolverManagerImpl extends Object implements ResolverManager
Since:
v4.2
  • Constructor Details

  • Method Details

    • handles

      public boolean handles(String field)
      Specified by:
      handles in interface ResolverManager
      Parameters:
      field - the name of the field (from IssueFieldConstants)
      Returns:
      true if the Resolver Manager knows about the field in question
    • getIdsFromName

      public List<String> getIdsFromName(String name, String field)
      Description copied from interface: ResolverManager
      Given a name and a field-name return the list of all possible values for it
      Specified by:
      getIdsFromName in interface ResolverManager
      Parameters:
      name - the "name" value (e.g. 'New Component 5')
      field - which field the value belongs to; must match IssueFieldConstants (e.g. 'component')
      Returns:
      a list of Strings consisting of the IDs corresponding to the name.
    • getSingleIdFromName

      public String getSingleIdFromName(String name, String field)
      Description copied from interface: ResolverManager
      As above, but ensures that there is only a single value being returned. A warning will be issued -- but no exceptions thrown -- if there is more than one ID for the value.
      Specified by:
      getSingleIdFromName in interface ResolverManager
      Parameters:
      name - the "name" value (e.g. 'New Component 5')
      field - which field the value belongs to; must match IssueFieldConstants (e.g. 'component')
      Returns:
      the ID for the value provided