org.sonar.api.resources
Class ResourceTypes
java.lang.Object
org.sonar.api.resources.ResourceTypes
- All Implemented Interfaces:
- BatchComponent, ServerComponent
@Beta
public final class ResourceTypes
- extends Object
- implements BatchComponent, ServerComponent
- Since:
- 2.14
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AVAILABLE_FOR_FILTERS
public static final com.google.common.base.Predicate<ResourceType> AVAILABLE_FOR_FILTERS
ResourceTypes
public ResourceTypes(ResourceTypeTree[] trees)
get
public ResourceType get(String qualifier)
getAll
public Collection<ResourceType> getAll()
getAll
public Collection<ResourceType> getAll(com.google.common.base.Predicate<ResourceType> predicate)
getChildrenQualifiers
public List<String> getChildrenQualifiers(String qualifier)
getChildren
public List<ResourceType> getChildren(String qualifier)
getLeavesQualifiers
public List<String> getLeavesQualifiers(String qualifier)
getTree
public ResourceTypeTree getTree(String qualifier)
Copyright © 2009-2012 SonarSource. All Rights Reserved.