org.unitils.dbmaintainer.locator
Class ClassPathScriptLocator
java.lang.Object
org.unitils.dbmaintainer.locator.ClassPathResourceLocator
org.unitils.dbmaintainer.locator.ClassPathScriptLocator
public class ClassPathScriptLocator
- extends ClassPathResourceLocator
Locate db scripts.
- Since:
- 1.0.2
- Author:
- tdr
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
scriptList
protected List<Script> scriptList
path
protected String path
scriptExtensions
protected List<String> scriptExtensions
ClassPathScriptLocator
public ClassPathScriptLocator()
loadScripts
public void loadScripts(List<Script> scriptList1,
String path1,
ResourcePickingStrategie resourcePickingStrategie,
List<String> scriptExtensions1)
- Parameters:
scriptList1 - path1 - resourcePickingStrategie - scriptExtensions1 -
addToScriptList
protected void addToScriptList(List<URL> resourcesF)
throws IOException
- Throws:
IOException
isScriptFile
protected boolean isScriptFile(String location)
- Vefiry's of the
location ends with a valid file-extension.
- Parameters:
location -
- Returns:
Copyright © 2014. All Rights Reserved.