io.github.avivcarmis.confEager.properties.ConfEagerPropertyBoolean Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of conf-eager Show documentation
Show all versions of conf-eager Show documentation
Super simplistic and dynamic eager-initialization configuration library for Java.
The newest version!
package io.github.avivcarmis.confEager.properties;
import io.github.avivcarmis.confEager.ConfEager;
import io.github.avivcarmis.confEager.properties.utils.ConfEagerPropertyPrimitive;
import io.github.avivcarmis.confEager.properties.utils.ConfEagerValueMapper;
/**
* Out of the box {@link io.github.avivcarmis.confEager.ConfEagerProperty}
* that maps {@link Boolean} values.
*/
public class ConfEagerPropertyBoolean extends ConfEagerPropertyPrimitive {
public ConfEagerPropertyBoolean(ConfEager.DefaultValue defaultValue, ConfEager.PropertyName propertyName) {
super(defaultValue, propertyName, ConfEagerValueMapper.BOOLEAN_MAPPER);
}
public ConfEagerPropertyBoolean(ConfEager.PropertyName propertyName, ConfEager.DefaultValue defaultValue) {
super(propertyName, defaultValue, ConfEagerValueMapper.BOOLEAN_MAPPER);
}
public ConfEagerPropertyBoolean(ConfEager.PropertyName propertyName) {
super(propertyName, ConfEagerValueMapper.BOOLEAN_MAPPER);
}
public ConfEagerPropertyBoolean(ConfEager.DefaultValue defaultValue) {
super(defaultValue, ConfEagerValueMapper.BOOLEAN_MAPPER);
}
public ConfEagerPropertyBoolean() {
super(ConfEagerValueMapper.BOOLEAN_MAPPER);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy