19 package org.sleuthkit.autopsy.progress;
21 import java.util.logging.Level;
33 public void start(String message,
int totalWorkUnits) {
35 LOGGER.log(Level.INFO,
"{0} started, {1} total work units",
new Object[]{message, this.totalWorkUnits});
39 public void start(String message) {
40 LOGGER.log(Level.INFO,
"{0}", message);
45 this.totalWorkUnits = 0;
46 LOGGER.log(Level.INFO,
"{0}", message);
52 LOGGER.log(Level.INFO,
"{0}, {1} of {2} total work units completed",
new Object[]{message, workUnitsCompleted, this.totalWorkUnits});
57 LOGGER.log(Level.INFO,
"{0}", message);
62 LOGGER.log(Level.INFO,
"{0} of {1} total work units completed",
new Object[]{workUnitsCompleted, this.totalWorkUnits});
66 public void progress(String message,
int workUnitsCompleted) {
67 LOGGER.log(Level.INFO,
"{0}, {1} of {2} total work units completed",
new Object[]{message, workUnitsCompleted, this.totalWorkUnits});
72 LOGGER.log(Level.INFO,
"Finished");
void progress(String message, int workUnitsCompleted)
void start(String message)
void switchToDeterminate(String message, int workUnitsCompleted, int totalWorkUnits)
void progress(int workUnitsCompleted)
void progress(String message)
void start(String message, int totalWorkUnits)
synchronized static Logger getLogger(String name)
void switchToIndeterminate(String message)