public interface ConfigAttribute<T> extends Property<T>
| Modifier and Type | Method and Description |
|---|---|
static <R,A> ConfigAttribute<A> |
create(FiberId id,
ConfigType<R,A,?> type,
R defaultValue) |
static <A> ConfigAttribute<A> |
create(FiberId id,
SerializableType<A> type,
A defaultValue) |
SerializableType<T> |
getConfigType() |
FiberId |
getIdentifier() |
default Class<? super T> |
getType()
Returns the class of the type of the value being held.
|
static <R,A> ConfigAttribute<A> create(FiberId id, ConfigType<R,A,?> type, @Nonnull R defaultValue)
static <A> ConfigAttribute<A> create(FiberId id, SerializableType<A> type, @Nonnull A defaultValue)
default Class<? super T> getType()
HasValueSerializableType<T> getConfigType()
FiberId getIdentifier()