All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.celum.dbtool.resource.DbStepResource Maven / Gradle / Ivy

/*****************************************************************************
 * Copyright 2012 celum Slovakia s r.o.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 *****************************************************************************/
package com.celum.dbtool.resource;

import com.celum.dbtool.step.DbStep;
import com.celum.dbtool.step.VersionFactory;

import java.util.Collection;
import java.util.List;

/**
 * This class provide access to  {@link com.celum.dbtool.step.DbStep steps}. You could have
 * various resources like classpath, file directory etc.
 *
 * Also filters are extending this class. Filters are basically decorators which are doing some pre or post
 * processing like parameter replacement etc.
 *
 * @author Zdenko Vrabel ([email protected])
 */
public abstract class DbStepResource
{
    /**
     * Here you will implement step loading.
     *
     * @return sorted collection of DB {@link com.celum.dbtool.step.DbStep steps} that will be executed then in order
     */
	public abstract List getSteps();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy