-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathJobParameters.java
More file actions
93 lines (69 loc) · 1.85 KB
/
JobParameters.java
File metadata and controls
93 lines (69 loc) · 1.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
package edu.asu.zoophy.rest;
import java.util.List;
import java.util.Map;
import edu.asu.zoophy.rest.pipeline.XMLParameters;
import edu.asu.zoophy.rest.pipeline.glm.Predictor;
/**
* Parameters for ZooPhy jobs
* @author devdemetri, kbhangal, amagge
*/
public class JobParameters {
private String replyEmail;
private String jobName;
private List<JobRecord> records;
private boolean useGLM = false;
private Map<String, List<Predictor>> predictors = null;
private boolean useGeoUncertainties = false;
private String disjoinerLevel = "Auto";
private XMLParameters xmlOptions = XMLParameters.getDefault();
public JobParameters() {
}
public String getReplyEmail() {
return replyEmail;
}
public void setReplyEmail(String replyEmail) {
this.replyEmail = replyEmail;
}
public String getJobName() {
return jobName;
}
public void setJobName(String jobName) {
this.jobName = jobName;
}
public List<JobRecord> getRecords() {
return records;
}
public void setRecords(List<JobRecord> records) {
this.records = records;
}
public boolean isUsingGLM() {
return useGLM;
}
public void setUseGLM(boolean useGLM) {
this.useGLM = useGLM;
}
public boolean isUsingGeospatialUncertainties() {
return useGeoUncertainties;
}
public void setUseGeoUncertainties(boolean useGeoUncertainties) {
this.useGeoUncertainties = useGeoUncertainties;
}
public String getDisjoinerLevel() {
return disjoinerLevel;
}
public void setDisjoinerLevel(String disjoinerLevel) {
this.disjoinerLevel = disjoinerLevel;
}
public Map<String, List<Predictor>> getPredictors() {
return predictors;
}
public void setPredictors(Map<String, List<Predictor>> predictors) {
this.predictors = predictors;
}
public XMLParameters getXmlOptions() {
return xmlOptions;
}
public void setXmlOptions(XMLParameters xmlOptions) {
this.xmlOptions = xmlOptions;
}
}