Add '@FunctionalInterface' to JobKeyGenerator
Resolves #4613 Signed-off-by: Taeik Lim <sibera21@gmail.com>
This commit is contained in:
committed by
Mahmoud Ben Hassine
parent
e4a7bd84df
commit
09df30f4e6
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2013-2022 the original author or authors.
|
||||
* Copyright 2013-2024 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -21,9 +21,11 @@ package org.springframework.batch.core;
|
||||
*
|
||||
* @author Michael Minella
|
||||
* @author Mahmoud Ben Hassine
|
||||
* @author Taeik Lim
|
||||
* @param <T> The type of the source data used to calculate the key.
|
||||
* @since 2.2
|
||||
*/
|
||||
@FunctionalInterface
|
||||
public interface JobKeyGenerator<T> {
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user