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

com.guigarage.toggles.SimpleTogglzConfig Maven / Gradle / Ivy

The newest version!
package com.guigarage.toggles;

import org.togglz.core.Feature;
import org.togglz.core.user.NoOpUserProvider;

/**
 * A simple Togglz configuration with observable support. The configuration will use a enum that defines all features, a InMemoryObservableStateRepository and a NoOpUserProvider
 * @author hebbers
 *
 * @param 
 */
public class SimpleTogglzConfig extends BasicTogglzConfig {

	/**
	 * Default Constructor
	 * 
	 * @param featureClass enum class that defines all features
	 */
	public SimpleTogglzConfig(Class featureClass) {
		super(featureClass, new InMemoryObservableStateRepository(), new NoOpUserProvider());
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy