Class PolarTrainingSessionProgress
-
- All Implemented Interfaces:
public final class PolarTrainingSessionProgressProgress information for training session fetching.
-
-
Field Summary
Fields Modifier and Type Field Description private final LongtotalBytesprivate final LongcompletedBytesprivate final IntegerprogressPercentprivate final StringcurrentFileName
-
Constructor Summary
Constructors Constructor Description PolarTrainingSessionProgress(Long totalBytes, Long completedBytes, Integer progressPercent, String currentFileName)
-
Method Summary
Modifier and Type Method Description final LonggetTotalBytes()final LonggetCompletedBytes()final IntegergetProgressPercent()final StringgetCurrentFileName()-
-
Constructor Detail
-
PolarTrainingSessionProgress
PolarTrainingSessionProgress(Long totalBytes, Long completedBytes, Integer progressPercent, String currentFileName)
- Parameters:
totalBytes- Total size of all files to fetch in bytescompletedBytes- Number of bytes fetched so farprogressPercent- Progress as a percentage (0-100)currentFileName- Name of the file currently being fetched (optional)
-
-
Method Detail
-
getTotalBytes
final Long getTotalBytes()
-
getCompletedBytes
final Long getCompletedBytes()
-
getProgressPercent
final Integer getProgressPercent()
-
getCurrentFileName
final String getCurrentFileName()
-
-
-
-