com.dbdeploy.scripts
Class ChangeScriptCreator

java.lang.Object
  extended by com.dbdeploy.scripts.ChangeScriptCreator

public class ChangeScriptCreator
extends Object

Responsible for creating a new change script file to be used by dbdeploy. This class will generate a new change script using a timestamp as the change script number and any supplied text as the rest of the filename.

Author:
jbogan

Constructor Summary
ChangeScriptCreator()
           
 
Method Summary
 File createScript()
           
 File go()
           
static void main(String[] args)
           
 void setScriptDescription(String scriptDescription)
           
 void setScriptDirectory(File scriptDirectory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChangeScriptCreator

public ChangeScriptCreator()
Method Detail

go

public File go()
        throws IOException
Throws:
IOException

createScript

public File createScript()
                  throws IOException
Throws:
IOException

setScriptDescription

public void setScriptDescription(String scriptDescription)

setScriptDirectory

public void setScriptDirectory(File scriptDirectory)

main

public static void main(String[] args)


Copyright © 2011. All Rights Reserved.