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

au.com.dius.pact.provider.junit.loader.PactSource Maven / Gradle / Ivy

package au.com.dius.pact.provider.junit.loader;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Point out which {@link PactLoader} use for pact loading
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.ANNOTATION_TYPE, ElementType.TYPE})
@Inherited
public @interface PactSource {
    /**
     * @return {@link PactLoader} class that will be used for pact loading
     *
     * @see PactLoader
     * @see PactBrokerLoader loads pacts from Pact broker
     * @see PactFolderLoader loads pacts from folder
     * @see PactUrlLoader loads pacts from urls
     */
    Class value();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy