Class DefaultDetectionAction

java.lang.Object
com.evolveum.midpoint.model.impl.mining.algorithm.detection.DefaultDetectionAction
All Implemented Interfaces:
Serializable

public class DefaultDetectionAction extends Object implements 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 Details

    • DefaultDetectionAction

      public DefaultDetectionAction(@NotNull @NotNull DetectionOption detectionOption)
      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.