Transformation that detects conflicting rules
new
ConflictDetectionTransformation(logger?: ILogger,options?: ConflictDetectionOptions,)
Creates a new ConflictDetectionTransformation
readonly
name: string
Human-readable name of the transformation
readonly
type: TransformationType
The transformation type identifier
private
conflicts: RuleConflict[]
private
readonly
options: ConflictDetectionOptions
private
checkSubdomainConflicts(domain: string,allowingRules: { rule: string; index: number; }[],blockingByDomain: Map<string, { rule: string; index: number; }[]>,): void
Checks for subdomain conflicts
clearConflicts(): void
Clears detected conflicts
private
createConflict(blockingRule: string,blockingIndex: number,allowingRule: string,allowingIndex: number,domain: string,): RuleConflict
Creates a conflict record
executeSync(rules: readonly string[]): readonly string[]
Detects conflicting rules (blocking vs. allowing same domain)
private
extractDomain(rule: string): string | null
Extracts domain from a rule
getConflicts(): RuleConflict[]
Gets the detected conflicts
Gets conflict detection statistics
private
resolveConflicts(rules: readonly string[]): readonly string[]
Resolves conflicts based on strategy