Annotation Type ClearJobRepository
-
@Inherited @Retention(RUNTIME) @Target(TYPE) public @interface ClearJobRepository
Annotation to be put on a test to cause aInMemoryJobRepository
to be cleared after test execution.A bean of type
InMemoryJobStorage
needs to be present,InMemoryBatchConfiguration
exposes such a bean,InMemoryBatchConfigurer
currently does not.- See Also:
InMemoryJobStorage.clear()
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description ClearPoint
value
Determines when theInMemoryJobStorage
should be cleared.
-
-
-
Element Detail
-
value
ClearPoint value
Determines when theInMemoryJobStorage
should be cleared.- Returns:
- when the
InMemoryJobStorage
should be cleared
-
-