Class AbstractScriptellaDriver

java.lang.Object
scriptella.spi.AbstractScriptellaDriver
All Implemented Interfaces:
ScriptellaDriver
Direct Known Subclasses:
Driver, Driver, Driver, Driver, Driver, Driver, Driver, Driver, Driver, Driver, Driver, Driver, GenericDriver

public abstract class AbstractScriptellaDriver extends Object implements ScriptellaDriver
An abstract base for Scriptella drivers.

Subclassing is more safe than directly implementing ScriptellaDriver interface.

Version:
1.0
Author:
Fyodor Kupolov
  • Constructor Details

    • AbstractScriptellaDriver

      public AbstractScriptellaDriver()
  • Method Details

    • toString

      public String toString()
      Specified by:
      toString in interface ScriptellaDriver
      Overrides:
      toString in class Object
      Returns:
      Driver's meaningful name
    • getScriptellaVersion

      public static String getScriptellaVersion()
      Helper method which returns an actual version of Scriptella used at runtime.
      Returns:
      project version, e.g. 1.0, or null if package info is absent.
    • getScriptellaTitle

      public static String getScriptellaTitle()
      Helper method which returns an actual product title of Scriptella used at runtime.
      Returns:
      project title, e.g. Scriptella ETL, or null if package info is absent.