
org.coode.oppl.ExecutionMonitor Maven / Gradle / Ivy
package org.coode.oppl;
/** @author Luigi Iannone */
public interface ExecutionMonitor {
/** non cancellable */
static final ExecutionMonitor NON_CANCELLABLE = new ExecutionMonitor() {
@Override
public boolean isCancelled() {
return false;
}
@Override
public void progressIncrementChanged(int newValue) {
// Do Nothing
}
};
/** @return true if cancelled */
boolean isCancelled();
/** @param newValue
* newValue */
void progressIncrementChanged(int newValue);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy