com.github.tlrx.elasticsearch.test.annotations.ElasticsearchSetting Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of elasticsearch-test Show documentation
Show all versions of elasticsearch-test Show documentation
elasticsearch-test, a framework that makes ElasticSearch unit testing a breeze
/**
*
*/
package com.github.tlrx.elasticsearch.test.annotations;
import org.elasticsearch.common.settings.Settings;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* ElasticsearchSetting Annotation
*
* This annotation is used to define elasticsearch {@link Settings}
*
* @author tlrx
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface ElasticsearchSetting {
/**
* Name
*/
String name();
/**
* Value
*/
String value();
}