All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.valkyriercp.progress.NullProgressMonitor Maven / Gradle / Ivy

There is a newer version: 1.3
Show newest version
package org.valkyriercp.progress;

/**
 * ProgressMonitor implementation that does nothing.
 *
 * @author Peter De Bruycker
 */
public class NullProgressMonitor implements ProgressMonitor {

    private boolean canceled;

    public void done() {
    }

    public boolean isCanceled() {
        return canceled;
    }

    public void setCanceled(boolean b) {
        canceled = b;
    }

    public void subTaskStarted(String name) {
    }

    public void taskStarted(String name, int totalWork) {
    }

    public void worked(int work) {
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy