Package com.celum.dbtool.resource

Examples of com.celum.dbtool.resource.PackageResource


                                   .setEventListener(this);

            if (stepsPackage == null || stepsPackage.isEmpty()) {
                config.setStepsSourceForDirectory(stepsDir);
            } else {
                config.setStepsSource(new PackageResource(stepsPackage, getClassLoaderWithCompiledClasses()));
            }

            config.build().patch();

        } catch (Exception e) {
View Full Code Here



    private DbStepResource getResource()
    {
        if (migrationPackage != null && !migrationPackage.isEmpty()) {
            return new PackageResource(migrationPackage, getClassLoaderWithCompiledClasses());
        } else {
            return new DirResource(migrationScripts);
        }
    }
View Full Code Here

    }


    public DbConfiguration setStepsSourceForPackage(String packageName)
    {
        this.stepsSource = new PackageResource(packageName, this.getClass().getClassLoader());
        return this;
    }
View Full Code Here

    }


    public DbConfiguration setStepsSourceForPackage(Package pckg)
    {
        this.stepsSource = new PackageResource(pckg);
        return this;
    }
View Full Code Here

        }


        public Db andDbScriptsInPackage(Package pckg)
        {
            return andDbScripts(new PackageResource(pckg));
        }
View Full Code Here

        }


        public Db andDbScriptsInPackage(String packageName)
        {
            return andDbScripts(new PackageResource(packageName));
        }
View Full Code Here

TOP

Related Classes of com.celum.dbtool.resource.PackageResource

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.