Interface ResourceObjectClassifier
-
- All Known Implementing Classes:
ResourceObjectClassifierImpl
@Experimental public interface ResourceObjectClassifier
Classifies resource objects, i.e. determines their kind and intent. This is a step towards putting this code right into provisioning module: Now we decouple it from the change notification mechanism. The next step will be removal of this interface and move the code right into provisioning module.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ResourceObjectClassifier.Classification
Result of the object classification.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull ResourceObjectClassifier.Classification
classify(@NotNull PrismObject<ShadowType> combinedObject, @NotNull PrismObject<ResourceType> resource, @NotNull Task task, @NotNull OperationResult result)
Classifies the shadowed resource object.
-
-
-
Method Detail
-
classify
@NotNull @NotNull ResourceObjectClassifier.Classification classify(@NotNull @NotNull PrismObject<ShadowType> combinedObject, @NotNull @NotNull PrismObject<ResourceType> resource, @NotNull @NotNull Task task, @NotNull @NotNull OperationResult result) throws CommunicationException, ObjectNotFoundException, SchemaException, SecurityViolationException, ConfigurationException, ExpressionEvaluationException
Classifies the shadowed resource object.- Parameters:
combinedObject
- Resource object that we want to classify. It should be connected to the shadow, however, exact "shadowization" is not required. Currently it should contain all the information from the shadow, plus all the attributes from resource object. If needed, more elaborate processing (up to full shadowization) can be added later.resource
- Resource on which the resource object was found- Throws:
CommunicationException
ObjectNotFoundException
SchemaException
SecurityViolationException
ConfigurationException
ExpressionEvaluationException
-
-