Annotation Type ClearJobRepository
-
@Inherited @Retention(RUNTIME) @Target(TYPE) public @interface ClearJobRepository
Annotation to be put on a test to cause aInMemoryJobRepositoryto be cleared after test execution.A bean of type
InMemoryJobStorageneeds to be present,InMemoryBatchConfigurationexposes such a bean,InMemoryBatchConfigurercurrently does not.- See Also:
InMemoryJobStorage.clear()
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description ClearPointvalueDetermines when theInMemoryJobStorageshould be cleared.
-
-
-
Element Detail
-
value
ClearPoint value
Determines when theInMemoryJobStorageshould be cleared.- Returns:
- when the
InMemoryJobStorageshould be cleared
-
-