com.mageddo.togglefirst.FeatureDefaults Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of toggle-first-core Show documentation
Show all versions of toggle-first-core Show documentation
Enable and disable your features in production on a button click
package com.mageddo.togglefirst;
import java.lang.annotation.*;
/**
* Store default values for the feature, you can annotate a EnumBasedFeature for example
*
* @see EnumFeatureMetadataProvider
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface FeatureDefaults {
Status status() default Status.INACTIVE;
String value() default "";
}