Repository navigation
Expand file tree
/
Copy pathProcessingActivityOptions.java
More file actions
124 lines (107 loc) · 3.02 KB
/
Copy pathProcessingActivityOptions.java
File metadata and controls
124 lines (107 loc) · 3.02 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
package org.databunker.options;
/**
* Processing activity options class for creating processing activities
*/
public class ProcessingActivityOptions {
private final String activity;
private final String newactivity;
private final String title;
private final String script;
private final String fulldesc;
private final String applicableto;
private ProcessingActivityOptions(Builder builder) {
this.activity = builder.activity;
this.newactivity = builder.newactivity;
this.title = builder.title;
this.script = builder.script;
this.fulldesc = builder.fulldesc;
this.applicableto = builder.applicableto;
}
/**
* Activity identifier
* @return The activity identifier
*/
public String getActivity() {
return activity;
}
/**
* New activity identifier (for updates)
* @return The new activity identifier
*/
public String getNewactivity() {
return newactivity;
}
/**
* Title of the processing activity
* @return The title
*/
public String getTitle() {
return title;
}
/**
* Script for the processing activity
* @return The script
*/
public String getScript() {
return script;
}
/**
* Full description of the processing activity
* @return The full description
*/
public String getFulldesc() {
return fulldesc;
}
/**
* Applicable to field
* @return The applicable to value
*/
public String getApplicableto() {
return applicableto;
}
/**
* Builder class for ProcessingActivityOptions
*/
public static class Builder {
private String activity;
private String newactivity;
private String title;
private String script;
private String fulldesc;
private String applicableto;
public Builder activity(String activity) {
this.activity = activity;
return this;
}
public Builder newactivity(String newactivity) {
this.newactivity = newactivity;
return this;
}
public Builder title(String title) {
this.title = title;
return this;
}
public Builder script(String script) {
this.script = script;
return this;
}
public Builder fulldesc(String fulldesc) {
this.fulldesc = fulldesc;
return this;
}
public Builder applicableto(String applicableto) {
this.applicableto = applicableto;
return this;
}
public ProcessingActivityOptions build() {
return new ProcessingActivityOptions(this);
}
}
/**
* Creates a new builder for ProcessingActivityOptions
* @return A new builder instance
*/
public static Builder builder() {
return new Builder();
}
}