org.rhq.core.domain.util
Class ResourceUtility
java.lang.Object
org.rhq.core.domain.util.ResourceUtility
public abstract class ResourceUtility
- extends Object
A set of utility methods for working with Resources.
- Since:
- 4.4
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getChildResource
public static Resource getChildResource(Resource parent,
ResourceType type,
String key)
getChildResources
@NotNull
public static Set<Resource> getChildResources(Resource parentResource,
ResourceFilter filter)
- Returns the set of child Resources defined by the given parent Resource, which are accepted by the specified
filter. If the filter is null, all of the parent Resource's children will be returned.
- Parameters:
parentResource - the parent Resourcefilter - the filter; may be null
- Returns:
- the set of MeasurementDefinition defined by the given Resource type, which are accepted by the specified
filter, or, if the filter is null, all of the type's MeasurementDefinitions
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.