ai.libs.jaicore.concurrent.NamedTimerTask Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jaicore-basic Show documentation
Show all versions of jaicore-basic Show documentation
Fundamental utils required by many other starlibs projects.
package ai.libs.jaicore.concurrent;
public abstract class NamedTimerTask extends TrackableTimerTask {
private String descriptor;
public NamedTimerTask() {
this("");
}
public NamedTimerTask(final String descriptor) {
super();
this.descriptor = descriptor;
}
public String getDescriptor() {
return this.descriptor;
}
public void setDescriptor(final String descriptor) {
this.descriptor = descriptor;
}
@Override
public String toString() {
return "NamedTimerTask: " + this.descriptor + ", canceled: " + this.isCanceled();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy