cdc.mf.checks.nodes.operations.OperationNameIsMandatory Maven / Gradle / Ivy
The newest version!
package cdc.mf.checks.nodes.operations;
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.MfOperation;
public class OperationNameIsMandatory extends AbstractNameIsMandatory {
public static final String NAME = "OPERATION_NAME_IS_MANDATORY";
public static final Rule RULE =
DefaultRuleUtils.define(NAME,
description -> description.text(describe("operations"))
.appliesTo("All operations"),
SEVERITY);
public OperationNameIsMandatory(SnapshotManager manager) {
super(manager,
MfOperation.class,
RULE);
}
}