A C E G I J M O P R S U

A

addPatchInfo(int) - Method in interface org.cafesip.upgrade.PatchEngine
Add new patch information.
addPatchInfo(int) - Method in class org.cafesip.upgrade.patchers.JdbcPatchEngine
 
AntScriptRunner - Class in org.cafesip.upgrade.runners
Thiss class executes Ant scripts.
AntScriptRunner() - Constructor for class org.cafesip.upgrade.runners.AntScriptRunner
A constructor for this class.

C

close() - Method in interface org.cafesip.upgrade.PatchEngine
Close connection to the persistence layer.
close() - Method in class org.cafesip.upgrade.patchers.JdbcPatchEngine
 
commit() - Method in interface org.cafesip.upgrade.PatchEngine
Commit all the patch information added by the upgrade process along with other changes executed by patch scripts.
commit() - Method in class org.cafesip.upgrade.patchers.JdbcPatchEngine
 

E

execute(File) - Method in class org.cafesip.upgrade.runners.AntScriptRunner
 
execute(File) - Method in class org.cafesip.upgrade.runners.SqlScriptRunner
 
execute(File) - Method in interface org.cafesip.upgrade.ScriptRunner
The upgrader tool calls this method when a patch of a particular type needs to be executed.
execute() - Method in class org.cafesip.upgrade.UpgraderTask
 

G

getInstance() - Static method in class org.cafesip.upgrade.PatchEngineFactory
 
getInstance() - Static method in class org.cafesip.upgrade.RunnerFactory
 
getInstance() - Static method in class org.cafesip.upgrade.UpgraderParams
Singleton return instance.
getPatchDir() - Method in class org.cafesip.upgrade.runners.AntScriptRunner
 
getPatchDir() - Method in class org.cafesip.upgrade.UpgraderTask
 
getPatchEngine() - Method in class org.cafesip.upgrade.PatchEngineFactory
 
getPatchLevel() - Method in interface org.cafesip.upgrade.PatchEngine
Returns the current patch level.
getPatchLevel() - Method in class org.cafesip.upgrade.patchers.JdbcPatchEngine
 
getRunner(String) - Method in class org.cafesip.upgrade.RunnerFactory
 
getRunners() - Method in class org.cafesip.upgrade.RunnerFactory
 

I

init() - Method in interface org.cafesip.upgrade.PatchEngine
This method is called immediately upon instantiation of the patch engine object.
init() - Method in class org.cafesip.upgrade.PatchEngineFactory
 
init() - Method in class org.cafesip.upgrade.patchers.JdbcPatchEngine
 
init() - Method in class org.cafesip.upgrade.RunnerFactory
 
initProperties(String) - Method in class org.cafesip.upgrade.Upgrader
 

J

JdbcPatchEngine - Class in org.cafesip.upgrade.patchers
This class persists patch information for a given installation.
JdbcPatchEngine() - Constructor for class org.cafesip.upgrade.patchers.JdbcPatchEngine
 

M

main(String[]) - Static method in class org.cafesip.upgrade.Upgrader
The command-line launcher for the upgrader tool.

O

onException(Upgrader, Exception, int, File) - Method in interface org.cafesip.upgrade.UpgraderListener
This method is called when an exception is encountered during the upgrade process.
onException(Upgrader, Exception, int, File) - Method in class org.cafesip.upgrade.UpgraderListenerAdapter
 
onPostpatch(Upgrader, int, File) - Method in interface org.cafesip.upgrade.UpgraderListener
This method is called after a patch has been applied.
onPostpatch(Upgrader, int, File) - Method in class org.cafesip.upgrade.UpgraderListenerAdapter
 
onPostupgrade(Upgrader, int) - Method in interface org.cafesip.upgrade.UpgraderListener
This method is called after the upgrade is completed.
onPostupgrade(Upgrader, int) - Method in class org.cafesip.upgrade.UpgraderListenerAdapter
 
onPrepatch(Upgrader, int, File) - Method in interface org.cafesip.upgrade.UpgraderListener
This method is called before a patch is applied.
onPrepatch(Upgrader, int, File) - Method in class org.cafesip.upgrade.UpgraderListenerAdapter
 
onPreupgrade(Upgrader, int) - Method in interface org.cafesip.upgrade.UpgraderListener
This method is called before the upgrade process begins.
onPreupgrade(Upgrader, int) - Method in class org.cafesip.upgrade.UpgraderListenerAdapter
 
org.cafesip.upgrade - package org.cafesip.upgrade
The Upgrader tool core classes.
org.cafesip.upgrade.patchers - package org.cafesip.upgrade.patchers
The Upgrader tool patch engine implementation classes.
org.cafesip.upgrade.runners - package org.cafesip.upgrade.runners
The Upgrader tool script runner implementation classes.

P

PARAM_CONNECTION - Static variable in class org.cafesip.upgrade.UpgraderParams
 
PARAM_PATCHDIR - Static variable in class org.cafesip.upgrade.UpgraderParams
 
PARAM_PROPERTIES - Static variable in class org.cafesip.upgrade.UpgraderParams
 
PatchEngine - Interface in org.cafesip.upgrade
An interface that patch engines must implement.
PatchEngineFactory - Class in org.cafesip.upgrade
An internal class that acts as a factory for the patch engine.
PROPERTY_KEY_CUSTOM_RUNNERS - Static variable in class org.cafesip.upgrade.PropertyNames
 
PROPERTY_KEY_JDBC_DRIVER - Static variable in class org.cafesip.upgrade.PropertyNames
 
PROPERTY_KEY_JDBC_PASSWORD - Static variable in class org.cafesip.upgrade.PropertyNames
 
PROPERTY_KEY_JDBC_URL - Static variable in class org.cafesip.upgrade.PropertyNames
 
PROPERTY_KEY_JDBC_USER - Static variable in class org.cafesip.upgrade.PropertyNames
 
PROPERTY_KEY_LISTENER - Static variable in class org.cafesip.upgrade.PropertyNames
 
PROPERTY_KEY_PATCHER - Static variable in class org.cafesip.upgrade.PropertyNames
 
PROPERTY_KEY_TRANSACTION_TYPE - Static variable in class org.cafesip.upgrade.PropertyNames
 
PROPERTY_VALUE_TRANSACTION_TYPE_AROUNDPATCH - Static variable in class org.cafesip.upgrade.PropertyNames
 
PROPERTY_VALUE_TRANSACTION_TYPE_AROUNDUPGRADE - Static variable in class org.cafesip.upgrade.PropertyNames
 
PROPERTY_VALUE_TRANSACTION_TYPE_DISABLED - Static variable in class org.cafesip.upgrade.PropertyNames
 
PropertyNames - Class in org.cafesip.upgrade
This class defines the constants for all the property names used by this tool.
PropertyNames() - Constructor for class org.cafesip.upgrade.PropertyNames
 

R

rollback() - Method in interface org.cafesip.upgrade.PatchEngine
Rolls back all the patch information added during the upgrade process along with other changes executed by the patch script.
rollback() - Method in class org.cafesip.upgrade.patchers.JdbcPatchEngine
 
RunnerFactory - Class in org.cafesip.upgrade
An internal class that serves as a factory for the script runner objects.

S

ScriptRunner - Interface in org.cafesip.upgrade
An interface that class must implement in order to be registered as a script runner object.
setAutoCommit(boolean) - Method in interface org.cafesip.upgrade.PatchEngine
Sets auto-commit to on or off.
setAutoCommit(boolean) - Method in class org.cafesip.upgrade.patchers.JdbcPatchEngine
 
setConnection(Connection) - Method in class org.cafesip.upgrade.runners.SqlScriptRunner
 
setPatchDir(String) - Method in class org.cafesip.upgrade.runners.AntScriptRunner
 
setPatchDir(String) - Method in class org.cafesip.upgrade.UpgraderTask
 
SqlScriptRunner - Class in org.cafesip.upgrade.runners
The class executes SQL script.
SqlScriptRunner() - Constructor for class org.cafesip.upgrade.runners.SqlScriptRunner
A constructor for this class.

U

upgrade() - Method in class org.cafesip.upgrade.Upgrader
Run the upgrade process.
Upgrader - Class in org.cafesip.upgrade
The entry point class for the upgrader tool.
Upgrader(String, String) - Constructor for class org.cafesip.upgrade.Upgrader
A constructor for this class.
UpgraderListener - Interface in org.cafesip.upgrade
An interface that must be implemented by a class in order to be registered as a upgrade listener.
UpgraderListenerAdapter - Class in org.cafesip.upgrade
An adapter that makes it easier to create a upgrade listener class.
UpgraderListenerAdapter() - Constructor for class org.cafesip.upgrade.UpgraderListenerAdapter
 
UpgraderParams - Class in org.cafesip.upgrade
This singleton class is used to store information and objects that are shared between objects performing the upgrade function.
UpgraderTask - Class in org.cafesip.upgrade
An Ant task that can be invoked from within an Ant script to perform the upgrade.
UpgraderTask() - Constructor for class org.cafesip.upgrade.UpgraderTask
A constructor for this class.

A C E G I J M O P R S U

Copyright © 2009 CafeSip.org. All Rights Reserved.