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

cdc.mf.ea.checks.EaProfile Maven / Gradle / Ivy

The newest version!
package cdc.mf.ea.checks;

import cdc.issues.Metas;
import cdc.issues.impl.ProfileImpl;
import cdc.issues.rules.Rule;
import cdc.mf.Config;

public final class EaProfile {
    private EaProfile() {
    }

    public static final String DOMAIN = "EA";

    private static void add(Rule rule) {
        PROFILE.add(rule);
    }

    public static final ProfileImpl PROFILE =
            new ProfileImpl("EA Profile").setMetas(Metas.builder()
                                                        .meta("Version", Config.VERSION)
                                                        .build())
                                         .setDescription("Rules used to convert an EAP database dump to an MF model.");
    static {
        add(EaAttributeIdMustBeValid.RULE);
        add(EaAttributeIgnored.RULE);
        add(EaAttributeNameMustBeValid.RULE);
        add(EaAttributeTypeMustBeValid.RULE);
        add(EaConnectorIdMustBeValid.RULE);
        add(EaConnectorIgnored.RULE);
        add(EaConnectorMustBeValid.RULE);
        add(EaConnectorTypeIgnored.RULE);
        add(EaCreateMissingType.RULE);
        add(EaError.RULE);
        add(EaInfo.RULE);
        add(EaObjectIdMustBeValid.RULE);
        add(EaObjectIgnored.RULE);
        add(EaSubstituteTypeBuiltin.RULE);
        add(EaSubstituteTypeRisky.RULE);
        add(EaSubstituteTypeSafe.RULE);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy