1 | |
package org.jbehave.core.annotations.groovy; |
2 | |
|
3 | |
import groovy.lang.GroovyClassLoader; |
4 | |
|
5 | |
import java.lang.annotation.ElementType; |
6 | |
import java.lang.annotation.Inherited; |
7 | |
import java.lang.annotation.Retention; |
8 | |
import java.lang.annotation.RetentionPolicy; |
9 | |
import java.lang.annotation.Target; |
10 | |
|
11 | |
import org.jbehave.core.configuration.groovy.BytecodeGroovyClassLoader; |
12 | |
import org.jbehave.core.configuration.groovy.GroovyResourceFinder; |
13 | |
|
14 | |
@Retention(RetentionPolicy.RUNTIME) |
15 | |
@Target( { ElementType.TYPE }) |
16 | |
@Inherited |
17 | |
public @interface UsingGroovy { |
18 | |
|
19 | |
Class<? extends GroovyClassLoader> classLoader() default BytecodeGroovyClassLoader.class; |
20 | |
|
21 | |
Class<? extends GroovyResourceFinder> resourceFinder() default GroovyResourceFinder.class; |
22 | |
|
23 | |
} |