Package org.openiam.idm.processor.groovy
Interface ObjectTransformer<O extends ProvisionObject>
-
- Type Parameters:
O
- - the Object, implementedProvisionObject
that will be transformed to String and validated
- All Known Implementing Classes:
AbstractGroupMembershipGenerator
,AbstractMembershipGenerator
,AbstractOrganizationMembershipGenerator
,AbstractResourceMembershipGenerator
,AbstractRoleMembershipGenerator
public interface ObjectTransformer<O extends ProvisionObject>
Define the PolicyMap Transformation and validation Rules
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isValid(O data)
Method is used to check does current ObjectProvisionObject
should be transformed bytransform(ProvisionObject)
method or not.String
transform(O data)
Transform the OProvisionObject
to the String value suitable for saving toStringOperationalConnectorValue
-
-
-
Method Detail
-
transform
String transform(O data)
Transform the OProvisionObject
to the String value suitable for saving toStringOperationalConnectorValue
- Parameters:
data
- - the current Object- Returns:
- - String value or NULL if transformation can't be done with any result
-
isValid
boolean isValid(O data)
Method is used to check does current ObjectProvisionObject
should be transformed bytransform(ProvisionObject)
method or not.- Parameters:
data
- - value to validate.- Returns:
- - it true, object will be transfomed and it's value will be provisioned to target system, if result is false then value of this object will be skipped.
-
-