public interface Adaptable
EnvironmentFactory
s and EvaluationEnvironment
s that are adaptable to
optional interfaces that can be considered as extensions to the environment API.Modifier and Type | Method and Description |
---|---|
<T> T |
getAdapter(java.lang.Class<T> adapterType)
Obtains an adapter for the specified interface type.
|
@Nullable <T> T getAdapter(java.lang.Class<T> adapterType)
T
- the requested adapter interfaceadapterType
- the requested adapter interfacenull
if this environment does not adapt to it