@Beta @ServerSide @ComputeEngineSide public class ResourceTypes extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static com.google.common.base.Predicate<ResourceType> | AVAILABLE_FOR_FILTERS | 
| Constructor and Description | 
|---|
| ResourceTypes() | 
| ResourceTypes(ResourceTypeTree[] trees) | 
| Modifier and Type | Method and Description | 
|---|---|
| ResourceType | get(String qualifier) | 
| Collection<ResourceType> | getAll() | 
| Collection<ResourceType> | getAll(com.google.common.base.Predicate<ResourceType> predicate) | 
| Collection<ResourceType> | getAllOrdered() | 
| Collection<ResourceType> | getAllWithPropertyKey(String propertyKey) | 
| Collection<ResourceType> | getAllWithPropertyValue(String propertyKey,
                       boolean propertyValue) | 
| Collection<ResourceType> | getAllWithPropertyValue(String propertyKey,
                       String propertyValue) | 
| List<ResourceType> | getChildren(String qualifier) | 
| List<String> | getChildrenQualifiers(String qualifier) | 
| List<String> | getLeavesQualifiers(String qualifier) | 
| ResourceType | getRoot(String qualifier) | 
| Collection<ResourceType> | getRoots() | 
| ResourceTypeTree | getTree(String qualifier) | 
public static final com.google.common.base.Predicate<ResourceType> AVAILABLE_FOR_FILTERS
public ResourceTypes()
public ResourceTypes(ResourceTypeTree[] trees)
public ResourceType get(String qualifier)
public Collection<ResourceType> getAll()
public Collection<ResourceType> getAllOrdered()
public Collection<ResourceType> getRoots()
public Collection<ResourceType> getAll(com.google.common.base.Predicate<ResourceType> predicate)
public Collection<ResourceType> getAllWithPropertyKey(String propertyKey)
public Collection<ResourceType> getAllWithPropertyValue(String propertyKey, String propertyValue)
public Collection<ResourceType> getAllWithPropertyValue(String propertyKey, boolean propertyValue)
public List<String> getChildrenQualifiers(String qualifier)
public List<ResourceType> getChildren(String qualifier)
public List<String> getLeavesQualifiers(String qualifier)
public ResourceTypeTree getTree(String qualifier)
public ResourceType getRoot(String qualifier)
Copyright © 2009–2016 SonarSource. All rights reserved.