Class DependencyProcessor
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.lens.projector.DependencyProcessor
-
@Component public class DependencyProcessor extends Object
- Author:
- Radovan Semancik
-
-
Constructor Summary
Constructors Constructor Description DependencyProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <F extends ObjectType>
booleancheckDependencies(LensContext<F> context, LensProjectionContext projContext, OperationResult result)
Check that the dependencies are still satisfied.<F extends ObjectType>
voidcheckDependenciesFinal(LensContext<F> context, OperationResult result)
Finally checks for all the dependencies.<F extends ObjectType>
intcomputeMaxWaves(LensContext<F> context)
<F extends ObjectType>
voidpreprocessDependencies(LensContext<F> context)
<F extends ObjectType>
voidresetWaves(LensContext<F> context)
<F extends ObjectType>
voidsortProjectionsToWaves(LensContext<F> context)
-
-
-
Method Detail
-
resetWaves
public <F extends ObjectType> void resetWaves(LensContext<F> context) throws PolicyViolationException
- Throws:
PolicyViolationException
-
sortProjectionsToWaves
public <F extends ObjectType> void sortProjectionsToWaves(LensContext<F> context) throws PolicyViolationException
- Throws:
PolicyViolationException
-
computeMaxWaves
public <F extends ObjectType> int computeMaxWaves(LensContext<F> context)
-
checkDependencies
public <F extends ObjectType> boolean checkDependencies(LensContext<F> context, LensProjectionContext projContext, OperationResult result) throws PolicyViolationException
Check that the dependencies are still satisfied. Also check for high-ordes vs low-order operation consistency and stuff like that.- Throws:
PolicyViolationException
-
preprocessDependencies
public <F extends ObjectType> void preprocessDependencies(LensContext<F> context)
-
checkDependenciesFinal
public <F extends ObjectType> void checkDependenciesFinal(LensContext<F> context, OperationResult result) throws PolicyViolationException
Finally checks for all the dependencies. Some dependencies cannot be checked during wave computations as we might not have all activation decisions yet.- Throws:
PolicyViolationException
-
-