public abstract class JobStatusUpdater extends Object
Constructor and Description |
---|
JobStatusUpdater(MutableJobStatus status) |
Modifier and Type | Method and Description |
---|---|
long |
getDuration() |
String |
getJobId() |
double |
getProgress() |
com.norconex.commons.lang.map.Properties |
getProperties() |
void |
incrementProgress(double increment) |
void |
setNote(String note) |
void |
setProgress(double progress) |
protected abstract void |
statusUpdated(MutableJobStatus status) |
public JobStatusUpdater(MutableJobStatus status)
public String getJobId()
public com.norconex.commons.lang.map.Properties getProperties()
public double getProgress()
public void setProgress(double progress)
public void incrementProgress(double increment)
public long getDuration()
public void setNote(String note)
protected abstract void statusUpdated(MutableJobStatus status)
Copyright © 2007–2021 Norconex Inc.. All rights reserved.