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

io.cucumber.core.api.TypeRegistryConfigurer Maven / Gradle / Ivy

There is a newer version: 7.18.0
Show newest version
package io.cucumber.core.api;

import org.apiguardian.api.API;

import java.util.Locale;

/**
 * The type registry configurer allows to configure a new type registry and the
 * locale.
 *
 * @deprecated Please use annotation based configuration. See Annotation
 *             based example See Lambda
 *             based example
 */
@API(status = API.Status.STABLE)
@Deprecated
public interface TypeRegistryConfigurer {

    /**
     * @return The locale to use, or null when language from feature file should
     *         be used.
     */
    default Locale locale() {
        return null;
    }

    /**
     * Configures the type registry.
     *
     * @param typeRegistry The new type registry.
     */
    void configureTypeRegistry(TypeRegistry typeRegistry);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy