Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • ClassLoader.findStepPluginWithID(id): change to: PluginRegistry.findPluginWithId(StepPluginType.getInstance(), id)
  • StepPlugin: change to PluginInterface
  • StepLoader.getStepClass(StepPlugin): (StepMetaInterface)PluginRegistry.loadClass(PluginInterface, PluginClassType.MainClassType)
  • ClassLoader.getStepPluginID(StepMetaInterface): PluginRegistry.getPluginId(StepPluginType.getInstance(), StepMetaInterface)
  •  init(): taken over by PluginRegistry.init() and StepPluginType.searchPlugins()

The StepPlugin class and the PluginInterface are quite similar, you'll find your way around.  We took the opportunity to correct a few mistakes from in that class though:

  • getID(): since this wasn't a single ID, it got renamed to getIds() but it's an array of String as well.
  • getDescription(): this was actually the name of the step so it's now called: getName()
  • getTooltip(): this was actually the description of the step so it's now called: getDescription()
  • getJarfiles(): moved to a list: getLibraries()
  • getClassname(): move to a map: getClassMap()Other: the aforementioned move to a Map for storing class names,