Package org.camunda.spin.spi
Interface DataFormatConfigurator<T extends DataFormat<?>>
-
public interface DataFormatConfigurator<T extends DataFormat<?>>Can be used to configure data formats of a certain type. An implementation will be supplied with all discovered data formats of the specified class.
DataFormat.getName()may be used to further restrict configuration to data formats with a specific name.- Author:
- Thorben Lindhauer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidconfigure(T dataFormat)Applies configuration to the desired format.java.lang.Class<T>getDataFormatClass()
-
-
-
Method Detail
-
getDataFormatClass
java.lang.Class<T> getDataFormatClass()
- Returns:
- the dataformat class this configurator can configure (including subclasses)
-
configure
void configure(T dataFormat)
Applies configuration to the desired format. This method is invoked with all dataformats of the required type.
-
-