All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cdc.mf.checks.DefaultRuleUtils Maven / Gradle / Ivy

The newest version!
package cdc.mf.checks;

import java.util.function.Consumer;

import cdc.issues.IssueSeverity;
import cdc.issues.rules.Rule;
import cdc.issues.rules.RuleDescription;
import cdc.issues.rules.RuleUtils;

public final class DefaultRuleUtils {
    private DefaultRuleUtils() {
    }

    public static Rule define(String name,
                              Consumer> descriptionBuilder,
                              IssueSeverity severity) {
        return RuleUtils.define(DefaultProfile.DOMAIN,
                                name,
                                descriptionBuilder,
                                severity);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy