public abstract class EzyAbstractSettingBuilder<T extends EzyAbstractSetting,B extends EzyAbstractSettingBuilder<T,B>> extends Object implements com.tvd12.ezyfox.builder.EzyBuilder<T>
| Modifier and Type | Field and Description |
|---|---|
protected String |
configFile |
protected String |
entryLoader |
protected Object[] |
entryLoaderArgs |
protected String |
name |
protected int |
threadPoolSize |
| Constructor and Description |
|---|
EzyAbstractSettingBuilder() |
| Modifier and Type | Method and Description |
|---|---|
T |
build() |
B |
configFile(String configFile) |
B |
entryLoader(Class<?> entryLoader) |
B |
entryLoader(String entryLoader) |
B |
entryLoaderArgs(Object[] entryLoaderArgs) |
B |
name(String name) |
protected abstract T |
newSetting() |
B |
threadPoolSize(int threadPoolSize) |
protected String name
protected String entryLoader
protected int threadPoolSize
protected String configFile
protected Object[] entryLoaderArgs
public B threadPoolSize(int threadPoolSize)
public T build()
build in interface com.tvd12.ezyfox.builder.EzyBuilder<T extends EzyAbstractSetting>protected abstract T newSetting()
Copyright © 2021 Young Monkeys. All rights reserved.