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

it.bz.opendatahub.alpinebits.validation.context.ValidationContextProvider Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version
/*
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */

package it.bz.opendatahub.alpinebits.validation.context;

import it.bz.opendatahub.alpinebits.middleware.Context;

/**
 * This interfaces defines methods to produce contexts used during validation.
 *
 * @param  the validation context type
 */
public interface ValidationContextProvider {

    /**
     * Build context of type C, using the
     * Middleware {@link Context}.
     *
     * @param ctx the middleware context used to build the validation context
     * @return the validation context
     */
    C buildContext(Context ctx);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy