接口 SyntheticModelProviderPlugin
- 所有超级接口:
org.springframework.plugin.core.Plugin<ModelContext>
public interface SyntheticModelProviderPlugin
extends org.springframework.plugin.core.Plugin<ModelContext>
Plugin to generate custom models
- 从以下版本开始:
- 2.8.1
-
方法概要
修饰符和类型方法说明create(ModelContext context) Creates a synthetic modelSet<com.fasterxml.classmate.ResolvedType>dependencies(ModelContext context) Creates a dependencies for the synthetic modelproperties(ModelContext context) Creates a synthetic model properties从接口继承的方法 org.springframework.plugin.core.Plugin
supports
-
方法详细资料
-
create
Creates a synthetic model- 参数:
context- - context to create the model from- 返回:
- model - when the plugin indicates it supports it, it must return a model
-
properties
Creates a synthetic model properties- 参数:
context- - context to create the model properties from- 返回:
- model - when the plugin indicates it supports it, it must provide properties by name
-
dependencies
Creates a dependencies for the synthetic model- 参数:
context- - context to create the model dependencies from- 返回:
- model - when the plugin indicates it supports it, it may return dependent model types.
-