Interface ModelExporter
- 
@ConsumerType public interface ModelExporterSPI interface for model exporters. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> Texport(@NotNull java.lang.Object model, @NotNull java.lang.Class<T> clazz, @NotNull java.util.Map<java.lang.String,java.lang.String> options)Export the provided model to the defined class using the options.@NotNull java.lang.StringgetName()The name of the exporter.booleanisSupported(@NotNull java.lang.Class<?> clazz)Check if the result class is supported by this exporter. 
 - 
 
- 
- 
Method Detail
- 
isSupported
boolean isSupported(@NotNull @NotNull java.lang.Class<?> clazz)Check if the result class is supported by this exporter.- Parameters:
 clazz- the result class- Returns:
 - true if the result class is supported
 
 
- 
export
@Nullable <T> T export(@NotNull @NotNull java.lang.Object model, @NotNull @NotNull java.lang.Class<T> clazz, @NotNull @NotNull java.util.Map<java.lang.String,java.lang.String> options) throws ExportExceptionExport the provided model to the defined class using the options.- Type Parameters:
 T- the export type- Parameters:
 model- the model classclazz- the export typeoptions- export options- Returns:
 - an exported object
 - Throws:
 ExportException- if the export is not successful
 
- 
getName
@NotNull @NotNull java.lang.String getName()
The name of the exporter.- Returns:
 - the name of the exporter
 
 
 - 
 
 -