|
package org.schedulemanager.demo.model;
import java.util.ArrayList;
import java.util.List;
public abstract class Job {
protected String id;
protected String name;
protected String circle;
protected String type;
public final static String BATCHJOB = "BATCHJOB";
public final static String JOBGROUP = "JOBGROUP";
public final static String DAILY = "DAILY";
public final static String WEEKLY = "WEEKLY";
public final static String MONTHLY = "MONTHLY";
public Job(String id) {
this.id = id ;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public abstract void addJob(Job job);
public abstract List<Job> getJobList();
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.