public abstract class

ExpandParameterParser

extends Object
java.lang.Object
   ↳ com.atlassian.jira.rest.api.util.ExpandParameterParser<T extends java.lang.Enum<T>>
Known Direct Subclasses

Class Overview

Abstract class that provides parsing of expand query parameters.

Summary

Protected Constructors
ExpandParameterParser(I18nHelper i18n, Class<T> enumClass)
Public Methods
Either<ErrorCollectionList<T>> parseExpandQuery(String expandQueryParameter)
parses a query parameter and returns either an error collection in case of failure or a list of parsed elements.
[Expand]
Inherited Methods
From class java.lang.Object

Protected Constructors

protected ExpandParameterParser (I18nHelper i18n, Class<T> enumClass)

Public Methods

public Either<ErrorCollectionList<T>> parseExpandQuery (String expandQueryParameter)

parses a query parameter and returns either an error collection in case of failure or a list of parsed elements.

Parameters
expandQueryParameter query parameter, may be null
Returns
  • either error collection or list of T elements