Class HierarchicalHashedDataGenerator

java.lang.Object
cz.metacentrum.perun.core.provisioning.HierarchicalHashedDataGenerator
All Implemented Interfaces:
HashedDataGenerator

public class HierarchicalHashedDataGenerator extends Object implements HashedDataGenerator
Generates data in format:

attributes: {...hashes...} hierarchy: { "1": { ** facility id ** members: { ** all members on the facility ** "4" : 5, ** member id : user id ** "6" : 7, ** member id : user id ** ... } children: [ "2": { ** resource id ** children: [], voId: 30, members: { ** all members on the resource with id 2 ** "4" : 5 ** member id : user id ** } }, "3": { ... } ] } }

Author:
Vojtech Sassmann <vojtech.sassmann@gmail.com>