public abstract static class BasicConfigKey.Builder<T,B extends BasicConfigKey.Builder<T,B>>
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Builder(<any> type,
java.lang.String name) |
Builder(ConfigKey<T> key) |
Builder(java.lang.String newName,
ConfigKey<T> key) |
Modifier and Type | Method and Description |
---|---|
BasicConfigKey<T> |
build() |
B |
constraint(<any> constraint) |
B |
defaultValue(T val) |
B |
deprecatedNames(java.util.Collection<java.lang.String> val) |
B |
deprecatedNames(java.lang.String... val) |
B |
description(java.lang.String val) |
java.lang.String |
getDescription() |
java.lang.String |
getName() |
B |
inheritance(ConfigInheritance val)
Deprecated.
since 0.10.0; use
parentInheritance(ConfigInheritance) |
B |
name(java.lang.String val) |
B |
parentInheritance(ConfigInheritance val)
Deprecated.
since 0.10.0; use
runtimeInheritance(ConfigInheritance) |
B |
reconfigurable(boolean val) |
B |
runtimeInheritance(ConfigInheritance val) |
B |
type(<any> val) |
B |
type(java.lang.Class<T> val) |
B |
typeInheritance(ConfigInheritance val) |
public Builder()
public Builder(<any> type, java.lang.String name)
public B name(java.lang.String val)
public B deprecatedNames(java.util.Collection<java.lang.String> val)
public B deprecatedNames(java.lang.String... val)
public B type(<any> val)
public B description(java.lang.String val)
public B reconfigurable(boolean val)
@Deprecated public B parentInheritance(ConfigInheritance val)
runtimeInheritance(ConfigInheritance)
public B runtimeInheritance(ConfigInheritance val)
public B typeInheritance(ConfigInheritance val)
@Deprecated public B inheritance(ConfigInheritance val)
parentInheritance(ConfigInheritance)
public B constraint(<any> constraint)
public BasicConfigKey<T> build()
public java.lang.String getName()
public java.lang.String getDescription()