Class DefaultDetectionAction
java.lang.Object
com.evolveum.midpoint.model.impl.mining.algorithm.detection.DefaultDetectionAction
- All Implemented Interfaces:
Serializable
A class responsible for executing the detection of patterns in role and user mining chunks/role analysis process.
The specific detection operation is determined by the provided detection option.
Default detection action is used after clustering operation.
- See Also:
-
Constructor Summary
ConstructorDescriptionDefaultDetectionAction
(@NotNull PatternDetectionOption detectionOption) Constructs a DefaultDetectionAction with the specified detection option. -
Method Summary
Modifier and TypeMethodDescriptionprotected List<DetectedPattern>
executeDetection
(@NotNull List<MiningRoleTypeChunk> miningRoleTypeChunks, @NotNull List<MiningUserTypeChunk> miningUserTypeChunks, @NotNull RoleAnalysisProcessModeType mode) Executes the pattern detection operation on role or user mining chunks based on the provided mode.
-
Constructor Details
-
DefaultDetectionAction
Constructs a DefaultDetectionAction with the specified detection option.- Parameters:
detectionOption
- The detection option that defines the specific detection operation.
-
-
Method Details
-
executeDetection
protected List<DetectedPattern> executeDetection(@NotNull @NotNull List<MiningRoleTypeChunk> miningRoleTypeChunks, @NotNull @NotNull List<MiningUserTypeChunk> miningUserTypeChunks, @NotNull @NotNull RoleAnalysisProcessModeType mode) Executes the pattern detection operation on role or user mining chunks based on the provided mode.- Parameters:
miningRoleTypeChunks
- The list of role mining chunks.miningUserTypeChunks
- The list of user mining chunks.mode
- The mode specifying whether the operation is user-based or role-based.- Returns:
- A list of detected patterns resulting from the detection operation.
-