com.atlassian.jira.rest.v2.search
Class FilterBeanBuilder

java.lang.Object
  extended by com.atlassian.jira.rest.v2.search.FilterBeanBuilder

public class FilterBeanBuilder
extends Object

A builder utility to create a FilterBean

Since:
v5.0

Constructor Summary
FilterBeanBuilder()
           
 
Method Summary
 FilterBean build()
           
 FilterBeanBuilder context(javax.ws.rs.core.UriInfo context, String canoncialBaseUrl)
          Sets the context.
 FilterBeanBuilder favourite(boolean favourite)
           
 FilterBeanBuilder filter(SearchRequest filter)
          Sets the filter
 FilterBeanBuilder owner(com.atlassian.crowd.embedded.api.User owner)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterBeanBuilder

public FilterBeanBuilder()
Method Detail

filter

public FilterBeanBuilder filter(SearchRequest filter)
Sets the filter

Parameters:
filter - a filter
Returns:
this

context

public FilterBeanBuilder context(javax.ws.rs.core.UriInfo context,
                                 String canoncialBaseUrl)
Sets the context.

Parameters:
context - a UriInfo
canoncialBaseUrl - the baseurl of this instance
Returns:
this

owner

public FilterBeanBuilder owner(com.atlassian.crowd.embedded.api.User owner)

favourite

public FilterBeanBuilder favourite(boolean favourite)

build

public FilterBean build()


Copyright © 2002-2012 Atlassian. All Rights Reserved.