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

cdc.mf.checks.nodes.properties.PropertyNameIsMandatory Maven / Gradle / Ivy

The newest version!
package cdc.mf.checks.nodes.properties;

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.MfProperty;

public class PropertyNameIsMandatory extends AbstractNameIsMandatory {
    public static final String NAME = "PROPERTY_NAME_IS_MANDATORY";
    public static final Rule RULE =
            DefaultRuleUtils.define(NAME,
                                    description -> description.text(describe("properties"))
                                                              .appliesTo("All properties"),

                                    SEVERITY);

    public PropertyNameIsMandatory(SnapshotManager manager) {
        super(manager,
              MfProperty.class,
              RULE);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy