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

com.redhat.lightblue.migrator.features.LightblueMigrationFeatures Maven / Gradle / Ivy

There is a newer version: 2.56.1
Show newest version
package com.redhat.lightblue.migrator.features;

import org.togglz.core.Feature;
import org.togglz.core.annotation.EnabledByDefault;
import org.togglz.core.annotation.Label;
import org.togglz.core.context.FeatureContext;

public enum LightblueMigrationFeatures implements Feature {

    @EnabledByDefault
    @Label("Read Source Entity")
    READ_SOURCE_ENTITY,
    @EnabledByDefault
    @Label("Write Source Entity")
    WRITE_SOURCE_ENTITY,
    @Label("Read Destination Entity")
    READ_DESTINATION_ENTITY,
    @Label("Write Destination Entity")
    WRITE_DESTINATION_ENTITY,
    @Label("Check Read Consistency")
    CHECK_READ_CONSISTENCY,
    @Label("Check Write Consistency")
    CHECK_WRITE_CONSISTENCY,;

    public boolean isActive() {
        return FeatureContext.getFeatureManager().isActive(this);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy