package com.salpa.subject.domain.diff.processor;


import com.salpa.subject.domain.data.TriggerMeta;
import com.salpa.subject.domain.diff.data.FieldDiff;

import java.util.List;

public class TriggerDiffProcessor implements DiffProcessor<TriggerMeta> {

    @Override
    public FieldDiff process(String fieldName, List<TriggerMeta> original, List<TriggerMeta> current) {
        return diffTableField(original, current, fieldName, TriggerMeta::getName);
    }
}
