Interface OpenBatch.ProgressCallback
- Enclosing class:
OpenBatch
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Progress callback interface
进度回调接口
- Since:
- JDK 25, opencode-base-io V1.0.0
- Author:
- Leon Soo www.LeonSoo.com
-
Method Summary
Modifier and TypeMethodDescriptionvoidonProgress(Path path, int current, int total) Called for each processed item 每个处理项调用
-
Method Details
-
onProgress
Called for each processed item 每个处理项调用- Parameters:
path- current path | 当前路径current- current index (1-based) | 当前索引(从1开始)total- total count | 总数
-