1 package net.javacoding.jspider.mockobjects.plugin; 2 3 import net.javacoding.jspider.spi.Plugin; 4 import net.javacoding.jspider.api.event.JSpiderEvent; 5 6 9 public class BaseTestPluginImpl implements Plugin { 10 11 public static final int DEFAULT_CONSTRUCTOR = 1; 12 public static final int NAME_CONSTRUCTOR = 2; 13 public static final int CONFIG_CONSTRUCTOR = 3; 14 public static final int NAMECONFIG_CONSTRUCTOR = 3; 15 16 protected int usedConstructor; 17 18 public BaseTestPluginImpl ( int usedConstructor ) { 19 this.usedConstructor = usedConstructor; 20 } 21 22 public String getName() { 23 return null; 24 } 25 26 public String getVersion() { 27 return null; 28 } 29 30 public String getDescription() { 31 return null; 32 } 33 34 public String getVendor() { 35 return null; 36 } 37 38 public void initialize() { 39 } 40 41 public void shutdown() { 42 } 43 44 public void notify(JSpiderEvent event) { 45 } 46 47 public int getUsedConstuctor ( ) { 48 return usedConstructor; 49 } 50 } 51 | Popular Tags |