scriptella.spi
Class AbstractScriptellaDriver

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

public abstract class AbstractScriptellaDriver
extends java.lang.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 Summary
AbstractScriptellaDriver()
           
 
Method Summary
static java.lang.String getScriptellaTitle()
          Helper method which returns an actual product title of Scriptella used at runtime.
static java.lang.String getScriptellaVersion()
          Helper method which returns an actual version of Scriptella used at runtime.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface scriptella.spi.ScriptellaDriver
connect
 

Constructor Detail

AbstractScriptellaDriver

public AbstractScriptellaDriver()
Method Detail

toString

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

getScriptellaVersion

public static java.lang.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 java.lang.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.


Copyright © Copyright 2006-2009 The Scriptella Project Team.