Class HierarchicalHashedDataGenerator
java.lang.Object
cz.metacentrum.perun.core.provisioning.HierarchicalHashedDataGenerator
- All Implemented Interfaces:
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>
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionGenerated hashed data structure used for provisioning.
-
Method Details
-
generateData
Description copied from interface:HashedDataGenerator
Generated hashed data structure used for provisioning.- Specified by:
generateData
in interfaceHashedDataGenerator
- Returns:
- hashed data structure
-