接口 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

      Model create(ModelContext context)
      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

      List<ModelProperty> properties(ModelContext context)
      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

      Set<com.fasterxml.classmate.ResolvedType> dependencies(ModelContext context)
      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.