cdc.mf.checks.nodes.packages.PackageNameIsMandatory Maven / Gradle / Ivy
The newest version!
package cdc.mf.checks.nodes.packages;
import cdc.issues.checks.SnapshotManager;
import cdc.issues.rules.Rule;
import cdc.mf.checks.DefaultRuleUtils;
import cdc.mf.checks.atts.name.AbstractNameIsMandatory;
import cdc.mf.model.MfPackage;
public class PackageNameIsMandatory extends AbstractNameIsMandatory {
public static final String NAME = "PACKAGE_NAME_IS_MANDATORY";
public static final Rule RULE =
DefaultRuleUtils.define(NAME,
description -> description.text(describe("packages"))
.appliesTo("All packages"),
SEVERITY);
public PackageNameIsMandatory(SnapshotManager manager) {
super(manager,
MfPackage.class,
RULE);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy