com.atlassian.bamboo.plugins.rest.util
Class RestHelper

java.lang.Object
  extended by com.atlassian.bamboo.plugins.rest.util.RestHelper

public final class RestHelper
extends java.lang.Object

User: mwent Date: Apr 29, 2009 Time: 9:59:45 AM


Constructor Summary
RestHelper()
           
 
Method Summary
static javax.ws.rs.core.UriInfo addAutoExpand(javax.ws.rs.core.UriInfo uriInfo, java.lang.String expandable)
           
static RestPlans createPaginatedPlanResponse(java.util.Collection<Plan> plans, LabelManager labelManager, com.atlassian.user.User user, javax.ws.rs.core.UriInfo uriInfo)
           
static boolean getCloverEnabledQueryParam(javax.ws.rs.core.UriInfo uriInfo)
           
static boolean getFavouriteQueryParam(javax.ws.rs.core.UriInfo uriInfo)
           
static java.lang.Class getPlanType(javax.ws.rs.core.UriInfo uriInfo)
           
static java.util.List<java.lang.String> getQueryParamAsList(javax.ws.rs.core.UriInfo uriInfo, java.lang.String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestHelper

public RestHelper()
Method Detail

addAutoExpand

public static javax.ws.rs.core.UriInfo addAutoExpand(javax.ws.rs.core.UriInfo uriInfo,
                                                     java.lang.String expandable)

getFavouriteQueryParam

public static boolean getFavouriteQueryParam(javax.ws.rs.core.UriInfo uriInfo)

getPlanType

public static java.lang.Class getPlanType(javax.ws.rs.core.UriInfo uriInfo)

getCloverEnabledQueryParam

public static boolean getCloverEnabledQueryParam(javax.ws.rs.core.UriInfo uriInfo)

getQueryParamAsList

public static java.util.List<java.lang.String> getQueryParamAsList(javax.ws.rs.core.UriInfo uriInfo,
                                                                   java.lang.String key)

createPaginatedPlanResponse

public static RestPlans createPaginatedPlanResponse(java.util.Collection<Plan> plans,
                                                    LabelManager labelManager,
                                                    @Nullable
                                                    com.atlassian.user.User user,
                                                    javax.ws.rs.core.UriInfo uriInfo)


Copyright © 2010 Atlassian. All Rights Reserved.