org.sonar.plugins.api.web.gwt.client.webservices
Class ResourcesQuery

java.lang.Object
  extended by org.sonar.plugins.api.web.gwt.client.webservices.Query<R>
      extended by org.sonar.plugins.api.web.gwt.client.webservices.AbstractResourceQuery<Resources>
          extended by org.sonar.plugins.api.web.gwt.client.webservices.ResourcesQuery

public class ResourcesQuery
extends AbstractResourceQuery<Resources>


Field Summary
static int DEPTH_UNLIMITED
           
 
Method Summary
 void execute(QueryCallBack<Resources> callback)
           
static ResourcesQuery get(java.lang.String resourceKey)
           
static java.util.List<Resource> parseResources(com.google.gwt.core.client.JavaScriptObject json)
           
 ResourcesQuery setDepth(java.lang.Integer depth)
           
 ResourcesQuery setFilterRule(java.lang.Boolean filterRule)
           
 ResourcesQuery setFilterRuleCategory(java.lang.Boolean filterRuleCategory)
           
 ResourcesQuery setLimit(java.lang.Integer limit)
           
 ResourcesQuery setMetrics(java.util.List<WSMetrics.Metric> metrics)
           
 ResourcesQuery setQualifiers(java.lang.String qualifiers)
           
 ResourcesQuery setScopes(java.lang.String scopes)
           
 java.lang.String toString()
           
 
Methods inherited from class org.sonar.plugins.api.web.gwt.client.webservices.AbstractResourceQuery
getResourceKey, setResourceKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEPTH_UNLIMITED

public static final int DEPTH_UNLIMITED
See Also:
Constant Field Values
Method Detail

get

public static ResourcesQuery get(java.lang.String resourceKey)

setDepth

public ResourcesQuery setDepth(java.lang.Integer depth)

setFilterRule

public ResourcesQuery setFilterRule(java.lang.Boolean filterRule)

setFilterRuleCategory

public ResourcesQuery setFilterRuleCategory(java.lang.Boolean filterRuleCategory)

setLimit

public ResourcesQuery setLimit(java.lang.Integer limit)

setScopes

public ResourcesQuery setScopes(java.lang.String scopes)

setQualifiers

public ResourcesQuery setQualifiers(java.lang.String qualifiers)

setMetrics

public ResourcesQuery setMetrics(java.util.List<WSMetrics.Metric> metrics)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

execute

public void execute(QueryCallBack<Resources> callback)
Specified by:
execute in class Query<Resources>

parseResources

public static java.util.List<Resource> parseResources(com.google.gwt.core.client.JavaScriptObject json)


Copyright © 2009 SonarSource SA. All Rights Reserved.