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

ai.libs.jaicore.concurrent.NamedTimerTask Maven / Gradle / Ivy

There is a newer version: 0.2.7
Show newest version
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