Class ConfigStringBinder
java.lang.Object
nz.org.riskscape.engine.bind.BaseBinder
nz.org.riskscape.engine.bind.TypeSafeBinder<Object,nz.org.riskscape.config.ConfigString>
nz.org.riskscape.engine.bind.impl.ConfigStringBinder
- All Implemented Interfaces:
nz.org.riskscape.engine.bind.ParameterBinder
,nz.org.riskscape.engine.Identified
public class ConfigStringBinder
extends nz.org.riskscape.engine.bind.TypeSafeBinder<Object,nz.org.riskscape.config.ConfigString>
Allow binding to the ConfigString type - this is mostly here for completeness, and I suspect it'll rarely, if ever, get used - most of the type the binding will happen 'directly', e.g. the types are compatible for direct assignment.
If we need to 'inject' the location in to the result of binding we could add a wrapper type, something like
Located
, e.g.:
```
-
Field Summary
Fields inherited from class nz.org.riskscape.engine.bind.TypeSafeBinder
acceptsSourceType, bindsType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected nz.org.riskscape.problem.ResultOrProblems<nz.org.riskscape.config.ConfigString>
bindTypedValue
(nz.org.riskscape.engine.bind.BindingContext context, Object value) Methods inherited from class nz.org.riskscape.engine.bind.TypeSafeBinder
bindValue, canBind
Methods inherited from class nz.org.riskscape.engine.bind.BaseBinder
bind, getId, wrapLookup, wrapLookupNullOnMissing
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface nz.org.riskscape.engine.Identified
getIdentifiedClass
-
Constructor Details
-
ConfigStringBinder
public ConfigStringBinder()
-
-
Method Details
-
bindTypedValue
protected nz.org.riskscape.problem.ResultOrProblems<nz.org.riskscape.config.ConfigString> bindTypedValue(nz.org.riskscape.engine.bind.BindingContext context, Object value) - Specified by:
bindTypedValue
in classnz.org.riskscape.engine.bind.TypeSafeBinder<Object,
nz.org.riskscape.config.ConfigString>
-