Skip to content

Commit

Permalink
BATCHEE-125 add FIELD, METHOD to scope annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
elexx authored and struberg committed Nov 21, 2017
1 parent 9e869b6 commit 563769a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Expand Up @@ -20,10 +20,12 @@
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import static java.lang.annotation.ElementType.TYPE;

@Target(TYPE)
@Target({TYPE, METHOD, FIELD})
@Retention(RUNTIME)
@NormalScope
public @interface JobScoped {
Expand Down
Expand Up @@ -20,10 +20,12 @@
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

@Target(TYPE)
@Target({TYPE, METHOD, FIELD})
@Retention(RUNTIME)
@NormalScope
public @interface StepScoped {
Expand Down

0 comments on commit 563769a

Please sign in to comment.