@PluginMainClassType( JobEntryDialogInterface.class ) @PluginAnnotationType( PluginDialog.class ) public class JobEntryDialogFragmentType extends BaseFragmentType implements PluginTypeInterface {
/** * This method allows for custom registration of plugins that are on the main classpath. This was originally created * so that test environments could register test plugins programmatically. * * @param clazz * the plugin implementation to register * @param cat * the category of the plugin * @param id * the id for the plugin * @param name * the name for the plugin * @param desc * the description for the plugin * @param image * the image for the plugin * @throws KettlePluginException */ public void registerCustom( Class<?> clazz, String cat, String id, String name, String desc, String image ) throws KettlePluginException { Class<? extends PluginTypeInterface> pluginType = getClass(); Map<Class<?>, String> classMap = new HashMap<>(); PluginMainClassType mainClassTypesAnnotation = pluginType.getAnnotation( PluginMainClassType.class ); classMap.put( mainClassTypesAnnotation.value(), clazz.getName() ); PluginInterface stepPlugin = new Plugin( new String[] { id }, pluginType, mainClassTypesAnnotation.value(), cat, name, desc, image, false, false, classMap, new ArrayList<String>(), null, null, null, null, null ); registry.registerPlugin( pluginType, stepPlugin ); }
@PluginMainClassType( StepDialogInterface.class ) @PluginAnnotationType( PluginDialog.class ) public class StepDialogFragmentType extends BaseFragmentType implements PluginTypeInterface {
@PluginMainClassType( SpoonPlugin.class ) @PluginAnnotationType( SpoonPlugin.class ) public class SpoonPluginType extends BasePluginType implements PluginTypeInterface {
@PluginMainClassType( DatabaseInterface.class ) @PluginAnnotationType( DatabaseMetaPlugin.class ) public class DatabasePluginType extends BasePluginType implements PluginTypeInterface {
@PluginMainClassType( SpoonUiExtenderPluginInterface.class ) @PluginAnnotationType( SpoonUiExtenderPlugin.class ) public class SpoonUiExtenderPluginType extends BasePluginType implements PluginTypeInterface {
@PluginMainClassType( TransDialogPluginInterface.class ) @PluginAnnotationType( TransDialogPlugin.class ) public class TransDialogPluginType extends BasePluginType implements PluginTypeInterface {
@PluginMainClassType( AuthenticationProviderType.class ) @PluginAnnotationType( AuthenticationProviderPlugin.class ) public class AuthenticationProviderPluginType extends BasePluginType implements PluginTypeInterface {
@PluginMainClassType( AuthenticationConsumerType.class ) @PluginAnnotationType( AuthenticationConsumerPlugin.class ) public class AuthenticationConsumerPluginType extends BasePluginType implements PluginTypeInterface {
@PluginMainClassType( JobDialogPluginInterface.class ) @PluginAnnotationType( JobDialogPlugin.class ) public class JobDialogPluginType extends BasePluginType implements PluginTypeInterface {
@PluginMainClassType( RowDistributionInterface.class ) @PluginAnnotationType( RowDistributionPlugin.class ) public class RowDistributionPluginType extends BasePluginType implements PluginTypeInterface {
@PluginMainClassType( TwoWayPasswordEncoderInterface.class ) @PluginAnnotationType( TwoWayPasswordEncoderPlugin.class ) public class TwoWayPasswordEncoderPluginType extends BasePluginType implements PluginTypeInterface {
@PluginMainClassType( CompressionProvider.class ) @PluginAnnotationType( CompressionPlugin.class ) public class CompressionPluginType extends BasePluginType implements PluginTypeInterface {
@PluginMainClassType( KettleLifecycleListener.class ) @PluginAnnotationType( KettleLifecyclePlugin.class ) public class KettleLifecyclePluginType extends BasePluginType implements PluginTypeInterface {
@PluginMainClassType( ExtensionPointInterface.class ) @PluginAnnotationType( ExtensionPoint.class ) public class ExtensionPointPluginType extends BasePluginType implements PluginTypeInterface {
@PluginMainClassType( ImportRuleInterface.class ) @PluginAnnotationType( ImportRulePlugin.class ) public class ImportRulePluginType extends BasePluginType implements PluginTypeInterface {
@PluginMainClassType( Engine.class ) @PluginAnnotationType( EnginePlugin.class ) public class EnginePluginType extends BasePluginType implements PluginTypeInterface {
@PluginMainClassType( LogTablePluginInterface.class ) @PluginAnnotationType( LogTablePlugin.class ) public class LogTablePluginType extends BasePluginType implements PluginTypeInterface {