ConfigEntry.java
2.72 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
/*
* Decompiled with CFR 0_118.
*/
package com.day.cq.workflow.launcher;
import java.util.List;
public class ConfigEntry {
private String nodetype;
private String whereClause;
private int eventType;
private String glob;
private String workflow;
private String id;
private String description;
private boolean enabled;
private List<String> excludeList;
private List<String> runModes;
public ConfigEntry(int eventType, String glob, String nodetype, String whereClause, String workflow, String id, String description, boolean enabled, List<String> excludeList, List<String> runModes) {
this.eventType = eventType;
this.glob = glob;
this.nodetype = nodetype;
this.whereClause = whereClause;
this.workflow = workflow;
this.id = id;
this.description = description;
this.enabled = enabled;
this.excludeList = excludeList;
this.runModes = runModes;
}
public String getWorkflow() {
return this.workflow;
}
public void setWorkflow(String actionClassScript) {
this.workflow = actionClassScript;
}
public int getEventType() {
return this.eventType;
}
public void setEventType(int eventType) {
this.eventType = eventType;
}
public String getGlob() {
return this.glob;
}
public void setGlob(String glob) {
this.glob = glob;
}
public String getNodetype() {
return this.nodetype;
}
public void setNodetype(String nodetype) {
this.nodetype = nodetype;
}
public String getWhereClause() {
return this.whereClause;
}
public void setWhereClause(String whereClause) {
this.whereClause = whereClause;
}
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
public int hashCode() {
String code = String.valueOf(this.eventType) + this.nodetype + this.whereClause + this.glob + this.workflow;
return code.hashCode();
}
public boolean isEnabled() {
return this.enabled;
}
public void setEnabled(boolean enabled) {
this.enabled = enabled;
}
public List<String> getExcludeList() {
return this.excludeList;
}
public void setExcludeList(List<String> excludeList) {
this.excludeList = excludeList;
}
public List<String> getRunModes() {
return this.runModes;
}
public void setRunModes(List<String> runModes) {
this.runModes = runModes;
}
}