Class GroupsHashedDataGenerator
java.lang.Object
cz.metacentrum.perun.core.provisioning.GroupsHashedDataGenerator
- 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 ** voId: 99, children: [ "89": { ** group id ** "children": {}, "members": { "91328": 57986, "91330": 60838 } } ], "members": { ** all members on the resource with id 2 ** "91328": 57986, "91330": 60838 } }, "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
-