Skip to content
This repository was archived by the owner on Apr 22, 2022. It is now read-only.

Commit fbee36a

Browse files
committed
missing SBA files for the step execution
1 parent f7b58f1 commit fbee36a

File tree

3 files changed

+217
-0
lines changed

3 files changed

+217
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
package eu.geoknow.generator.workflow.beans;
2+
3+
/**
4+
*
5+
* @author alejandragarciarojas
6+
*
7+
*/
8+
public class JobExecutionStep {
9+
private String id;
10+
private String resource;
11+
private Status status;
12+
13+
public String getId() {
14+
return id;
15+
}
16+
17+
public void setId(String id) {
18+
this.id = id;
19+
}
20+
21+
public String getResource() {
22+
return resource;
23+
}
24+
25+
public void setResource(String resource) {
26+
this.resource = resource;
27+
}
28+
29+
public Status getStatus() {
30+
return status;
31+
}
32+
33+
public void setStatus(Status status) {
34+
this.status = status;
35+
}
36+
37+
}
Lines changed: 148 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
1+
package eu.geoknow.generator.workflow.beans;
2+
3+
/**
4+
* Detailed description of the execution of a step
5+
*
6+
* @author alejandragarciarojas
7+
*
8+
*
9+
*/
10+
public class StepExecutionDetail {
11+
12+
private String id;
13+
private String name;
14+
private String resource;
15+
private Status status;
16+
private String startTime;
17+
private String duration;
18+
private int readCount;
19+
private int writeCoun;
20+
private int filterCount;
21+
private int readSkipCount;
22+
private int processSkipCount;
23+
private int commitCount;
24+
private String rollbackCount;
25+
private String exitCode;
26+
private String exitDescription;
27+
28+
public int getReadCount() {
29+
return readCount;
30+
}
31+
32+
public int getWriteCoun() {
33+
return writeCoun;
34+
}
35+
36+
public int getCommitCount() {
37+
return commitCount;
38+
}
39+
40+
public String getName() {
41+
return name;
42+
}
43+
44+
public void setName(String name) {
45+
this.name = name;
46+
}
47+
48+
public String getStartTime() {
49+
return startTime;
50+
}
51+
52+
public void setStartTime(String startTime) {
53+
this.startTime = startTime;
54+
}
55+
56+
public int getFilterCount() {
57+
return filterCount;
58+
}
59+
60+
public void setFilterCount(int filterCount) {
61+
this.filterCount = filterCount;
62+
}
63+
64+
public int getReadSkipCount() {
65+
return readSkipCount;
66+
}
67+
68+
public void setReadSkipCount(int readSkipCount) {
69+
this.readSkipCount = readSkipCount;
70+
}
71+
72+
public int getProcessSkipCount() {
73+
return processSkipCount;
74+
}
75+
76+
public void setProcessSkipCount(int processSkipCount) {
77+
this.processSkipCount = processSkipCount;
78+
}
79+
80+
public String getExitDescription() {
81+
return exitDescription;
82+
}
83+
84+
public void setExitDescription(String exitDescription) {
85+
this.exitDescription = exitDescription;
86+
}
87+
88+
public void setReadCount(int readCount) {
89+
this.readCount = readCount;
90+
}
91+
92+
public void setWriteCoun(int writeCoun) {
93+
this.writeCoun = writeCoun;
94+
}
95+
96+
public void setCommitCount(int commitCount) {
97+
this.commitCount = commitCount;
98+
}
99+
100+
public Status getStatus() {
101+
return status;
102+
}
103+
104+
public void setStatus(Status status) {
105+
this.status = status;
106+
}
107+
108+
public String getExitCode() {
109+
return exitCode;
110+
}
111+
112+
public void setExitCode(String exitCode) {
113+
this.exitCode = exitCode;
114+
}
115+
116+
public String getId() {
117+
return id;
118+
}
119+
120+
public void setId(String id) {
121+
this.id = id;
122+
}
123+
124+
public String getResource() {
125+
return resource;
126+
}
127+
128+
public void setResource(String resource) {
129+
this.resource = resource;
130+
}
131+
132+
public String getRollbackCount() {
133+
return rollbackCount;
134+
}
135+
136+
public void setRollbackCount(String rollbackCount) {
137+
this.rollbackCount = rollbackCount;
138+
}
139+
140+
public String getDuration() {
141+
return duration;
142+
}
143+
144+
public void setDuration(String duration) {
145+
this.duration = duration;
146+
}
147+
148+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
package eu.geoknow.generator.workflow.beans;
2+
3+
/**
4+
*
5+
* These objects holds more detail about each step execution, we are mainly interested in the
6+
* exitDescription
7+
*
8+
* @author alejandragarciarojas
9+
*
10+
*
11+
*/
12+
public class StepJobExecution {
13+
14+
private StepExecutionDetail stepExecution;
15+
private JobExecutionStep jobExecution;
16+
17+
public StepExecutionDetail getStepExecution() {
18+
return stepExecution;
19+
}
20+
21+
public void setStepExecution(StepExecutionDetail stepExecution) {
22+
this.stepExecution = stepExecution;
23+
}
24+
25+
public JobExecutionStep getJobExecution() {
26+
return jobExecution;
27+
}
28+
29+
public void setJobExecution(JobExecutionStep jobExecution) {
30+
this.jobExecution = jobExecution;
31+
}
32+
}

0 commit comments

Comments
 (0)