public static <T extends Enum<T>> ConfigurationOptionBuilder<T> enumOption(Class<T> clazz) {
		final ConfigurationOptionBuilder<T> optionBuilder = new ConfigurationOptionBuilder<T>(new EnumValueConverter<T>(clazz), clazz);
		for (T enumConstant : clazz.getEnumConstants()) {
			optionBuilder.addValidOption(enumConstant);
		}
		optionBuilder.sealValidOptions();
		return optionBuilder;
	}
public static < T extends Enum < T > > ConfigurationOptionBuilder < T > enumOption ( Class < T > clazz ) { final ConfigurationOptionBuilder < T > optionBuilder = new ConfigurationOptionBuilder < T > ( new EnumValueConverter < T > ( clazz ) , clazz ) ; for ( T enumConstant : clazz . getEnumConstants ( ) ) { optionBuilder . addValidOption ( enumConstant ) ; } optionBuilder . sealValidOptions ( ) ; return optionBuilder ; }
Constructs a {@link ConfigurationOptionBuilder} whose value is an {@link Enum}

@return a {@link ConfigurationOptionBuilder} whose value is an {@link Enum}