com.playtika.testcontainer.selenium.DockerHostname Maven / Gradle / Ivy
package com.playtika.testcontainer.selenium;
import org.springframework.beans.factory.annotation.Value;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Annotation at the field or method/constructor parameter level that injects the docker
* host that got allocated at runtime. Provides a convenient alternative for
* @Value("${embedded.selenium.dockerhost}")
.
*
*/
@Target({ ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER, ElementType.ANNOTATION_TYPE })
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Value("${embedded.selenium.dockerhost}")
public @interface DockerHostname {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy