public class PartitionManager extends Object
| Constructor and Description |
|---|
PartitionManager() |
| Modifier and Type | Method and Description |
|---|---|
Resource |
getResourceByPart(ResourceSet resourceSet,
Part part)
Identifies and returns a Resource within a ResourceSet using parition keys.
|
public final Resource getResourceByPart(ResourceSet resourceSet, Part part) throws IllegalAccessException, NoSuchFieldException
resourceSet - The ResourceSet containing a set of partitioned Resources.part - The given Partition Keys used to identify a particular ResourceIllegalAccessException - Is thrown in case the partition isn't accessible in Part class.NoSuchFieldException - Is thrown in case the partition key wasn't found in Part class.Copyright © 2016. All rights reserved.