Package org.slf4j.migrator.internal
Class ProgressListenerImpl
java.lang.Object
org.slf4j.migrator.internal.ProgressListenerImpl
- All Implemented Interfaces:
ProgressListener
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) Abbreviator
(package private) int
(package private) final MigratorFrame
(package private) int
(package private) long
(package private) int
(package private) static final int
(package private) static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) String
getShortName
(File file) (package private) boolean
void
onDirectory
(File file) void
onDone()
void
onFileAddition
(File file) void
onFileScan
(File file) void
void
onInplaceConversion
(File file) void
-
Field Details
-
TARGET_FILE_LENGTH
static final int TARGET_FILE_LENGTH- See Also:
-
UPDATE_THRESHOLD
static final int UPDATE_THRESHOLD- See Also:
-
addFileCount
int addFileCount -
scanFileCount
int scanFileCount -
inplaceConversionCount
int inplaceConversionCount -
frame
-
abbr
Abbreviator abbr -
lastUpdate
long lastUpdate
-
-
Constructor Details
-
ProgressListenerImpl
-
-
Method Details
-
onMigrationBegin
public void onMigrationBegin()- Specified by:
onMigrationBegin
in interfaceProgressListener
-
isTooSoon
boolean isTooSoon() -
onDirectory
- Specified by:
onDirectory
in interfaceProgressListener
-
onDone
public void onDone()- Specified by:
onDone
in interfaceProgressListener
-
onFileAddition
- Specified by:
onFileAddition
in interfaceProgressListener
-
onFileScan
- Specified by:
onFileScan
in interfaceProgressListener
-
onInplaceConversion
- Specified by:
onInplaceConversion
in interfaceProgressListener
-
getShortName
-
onFileScanBegin
public void onFileScanBegin()- Specified by:
onFileScanBegin
in interfaceProgressListener
-