package com.github.swissquote.carnotzet.maven.plugin;

import java.util.Properties;

import com.github.swissquote.carnotzet.maven.plugin.spi.ExtensionFactory;

import lombok.Data;

/**
 * Maven configuration for initializing {@link ExtensionFactory}
 */
@Data
public class ExtensionConfiguration {
	/**
	 * The class name of the {@link ExtensionFactory} instance to be configured using provided properties
	 */
	private String factoryClass;
	/**
	 * Properties to be used for {@link ExtensionFactory} configuration
	 */
	private Properties properties;

	public <F> boolean isFor(Class<F> extFactoryClass) {
		return extFactoryClass.getName().equalsIgnoreCase(factoryClass);
	}
}

@@ -82,83 +82,8 @@
 s;%0A%0A
-import com.github.swissquote.carnotzet.maven.plugin.spi.ExtensionFactory;%0A%0A
 impo
@@ -142,32 +142,81 @@
 ializing %7B@link 
+com.github.swissquote.carnotzet.maven.plugin.spi.
 ExtensionFactory
@@ -295,32 +295,81 @@
 e of the %7B@link 
+com.github.swissquote.carnotzet.maven.plugin.spi.
 ExtensionFactory
@@ -410,16 +410,20 @@
 provided
+%0A%09 *
  propert
@@ -503,16 +503,65 @@
  %7B@link 
+com.github.swissquote.carnotzet.maven.plugin.spi.
 Extensio

Fix for checkstyle