@CompileStatic final class SimpleEnumState<E extends Enum<E>> extends Object implements EnumState<E>
Constructor and description |
---|
SimpleEnumState
(Project project, Class<E> enumType, Property<E> property, Provider<E> provider) |
Type Params | Return Type | Name and description |
---|---|---|
|
E |
getValue() |
<E extends Enum<E>> |
static SimpleEnumState |
of(Task task, String key, Class<E> enumType) |
<E extends Enum<E>> |
static SimpleEnumState |
of(Task task, String key, Class<E> enumType, E defaultValue) |
<E extends Enum<E>> |
static SimpleEnumState |
of(Task task, String key, Class<E> enumType, PropertyUtils.Order order) |
<E extends Enum<E>> |
static SimpleEnumState |
of(Task task, String key, Class<E> enumType, PropertyUtils.Order order, PropertyUtils.Path path, E defaultValue) |
<E extends Enum<E>> |
static SimpleEnumState |
of(Task task, String envKey, String propertyKey, Class<E> enumType, PropertyUtils.Order order, PropertyUtils.Path path, E defaultValue) |
<E extends Enum<E>> |
static SimpleEnumState |
of(Project project, Object owner, String key, Class<E> enumType) |
<E extends Enum<E>> |
static SimpleEnumState |
of(Project project, Object owner, String key, Class<E> enumType, E defaultValue) |
<E extends Enum<E>> |
static SimpleEnumState |
of(Project project, Object owner, String key, Class<E> enumType, PropertyUtils.Order order) |
<E extends Enum<E>> |
static SimpleEnumState |
of(Project project, Object owner, String key, Class<E> enumType, PropertyUtils.Order order, PropertyUtils.Path path, E defaultValue) |
<E extends Enum<E>> |
static SimpleEnumState |
of(Project project, Object owner, String envKey, String propertyKey, Class<E> enumType, PropertyUtils.Order order, PropertyUtils.Path path, E defaultValue) |
Groovy Documentation