Allow inheritance of RequiresVaultVersion.

See gh-443.
This commit is contained in:
Mark Paluch
2019-07-01 11:42:16 +02:00
parent 2ad7527e3e
commit b390aab875

View File

@@ -17,6 +17,7 @@ package org.springframework.vault.util;
import java.lang.annotation.Documented;
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;
@@ -42,6 +43,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
@Target({ ElementType.TYPE, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@ExtendWith(VaultVersionExtension.class)
public @interface RequiresVaultVersion {