public class SubInstance<T>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected com.github.leeonky.jfactory.DefaultArguments |
arguments |
protected Spec<T> |
spec |
| Constructor and Description |
|---|
SubInstance(com.github.leeonky.util.PropertyWriter<?> property,
int sequence,
Spec<T> spec,
com.github.leeonky.jfactory.DefaultArguments argument) |
| Modifier and Type | Method and Description |
|---|---|
com.github.leeonky.util.PropertyWriter<?> |
getProperty() |
int |
getSequence() |
<P> P |
param(java.lang.String key) |
<P> P |
param(java.lang.String key,
P defaultValue) |
Arguments |
params() |
Arguments |
params(java.lang.String property) |
java.util.function.Supplier<T> |
reference() |
Spec<T> |
spec() |
protected final Spec<T> spec
protected final com.github.leeonky.jfactory.DefaultArguments arguments
public com.github.leeonky.util.PropertyWriter<?> getProperty()
public int getSequence()
getSequence in interface Instance<T>public java.util.function.Supplier<T> reference()
public <P> P param(java.lang.String key,
P defaultValue)
public Arguments params(java.lang.String property)