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

cdc.mf.checks.nodes.packages.PackageIdIsMandatory 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.id.AbstractIdIsMandatory;
import cdc.mf.model.MfPackage;

public class PackageIdIsMandatory extends AbstractIdIsMandatory {
    public static final String NAME = "PACKAGE_ID_IS_MANDATORY";
    public static final Rule RULE =
            DefaultRuleUtils.define(NAME,
                                    description -> description.text(describe("packages"))
                                                              .appliesTo("All packages"),

                                    SEVERITY);

    public PackageIdIsMandatory(SnapshotManager manager) {
        super(manager,
              MfPackage.class,
              RULE);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy