yangys
2024-03-28 13ada1093cb8de6e31a718d2222429ded70133c8
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
package com.qianwen.core.context.task;
 
import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
 
/* loaded from: blade-core-context-9.3.0.0-SNAPSHOT.jar:org/springblade/core/context/task/TaskExecutionContext.class */
public class TaskExecutionContext implements Serializable {
    private String contextId;
    private String name;
    private String business;
    private String tenantId;
    private String executor;
    private Map<String, Object> data;
    private Map<String, Object> extendInfo = new HashMap();
    private List<String> relatedPersonals = new ArrayList();
    private TaskExecutorTypeEnum taskExecutorTypeEnum;
 
    public void setContextId(final String contextId) {
        this.contextId = contextId;
    }
 
    public void setName(final String name) {
        this.name = name;
    }
 
    public void setBusiness(final String business) {
        this.business = business;
    }
 
    public void setTenantId(final String tenantId) {
        this.tenantId = tenantId;
    }
 
    public void setExecutor(final String executor) {
        this.executor = executor;
    }
 
    public void setData(final Map<String, Object> data) {
        this.data = data;
    }
 
    public void setExtendInfo(final Map<String, Object> extendInfo) {
        this.extendInfo = extendInfo;
    }
 
    public void setRelatedPersonals(final List<String> relatedPersonals) {
        this.relatedPersonals = relatedPersonals;
    }
 
    public void setTaskExecutorTypeEnum(final TaskExecutorTypeEnum taskExecutorTypeEnum) {
        this.taskExecutorTypeEnum = taskExecutorTypeEnum;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof TaskExecutionContext) {
            TaskExecutionContext other = (TaskExecutionContext) o;
            if (other.canEqual(this)) {
                Object this$contextId = getContextId();
                Object other$contextId = other.getContextId();
                if (this$contextId == null) {
                    if (other$contextId != null) {
                        return false;
                    }
                } else if (!this$contextId.equals(other$contextId)) {
                    return false;
                }
                Object this$name = getName();
                Object other$name = other.getName();
                if (this$name == null) {
                    if (other$name != null) {
                        return false;
                    }
                } else if (!this$name.equals(other$name)) {
                    return false;
                }
                Object this$business = getBusiness();
                Object other$business = other.getBusiness();
                if (this$business == null) {
                    if (other$business != null) {
                        return false;
                    }
                } else if (!this$business.equals(other$business)) {
                    return false;
                }
                Object this$tenantId = getTenantId();
                Object other$tenantId = other.getTenantId();
                if (this$tenantId == null) {
                    if (other$tenantId != null) {
                        return false;
                    }
                } else if (!this$tenantId.equals(other$tenantId)) {
                    return false;
                }
                Object this$executor = getExecutor();
                Object other$executor = other.getExecutor();
                if (this$executor == null) {
                    if (other$executor != null) {
                        return false;
                    }
                } else if (!this$executor.equals(other$executor)) {
                    return false;
                }
                Object this$data = getData();
                Object other$data = other.getData();
                if (this$data == null) {
                    if (other$data != null) {
                        return false;
                    }
                } else if (!this$data.equals(other$data)) {
                    return false;
                }
                Object this$extendInfo = getExtendInfo();
                Object other$extendInfo = other.getExtendInfo();
                if (this$extendInfo == null) {
                    if (other$extendInfo != null) {
                        return false;
                    }
                } else if (!this$extendInfo.equals(other$extendInfo)) {
                    return false;
                }
                Object this$relatedPersonals = getRelatedPersonals();
                Object other$relatedPersonals = other.getRelatedPersonals();
                if (this$relatedPersonals == null) {
                    if (other$relatedPersonals != null) {
                        return false;
                    }
                } else if (!this$relatedPersonals.equals(other$relatedPersonals)) {
                    return false;
                }
                Object this$taskExecutorTypeEnum = getTaskExecutorTypeEnum();
                Object other$taskExecutorTypeEnum = other.getTaskExecutorTypeEnum();
                return this$taskExecutorTypeEnum == null ? other$taskExecutorTypeEnum == null : this$taskExecutorTypeEnum.equals(other$taskExecutorTypeEnum);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof TaskExecutionContext;
    }
 
    public int hashCode() {
        Object $contextId = getContextId();
        int result = (1 * 59) + ($contextId == null ? 43 : $contextId.hashCode());
        Object $name = getName();
        int result2 = (result * 59) + ($name == null ? 43 : $name.hashCode());
        Object $business = getBusiness();
        int result3 = (result2 * 59) + ($business == null ? 43 : $business.hashCode());
        Object $tenantId = getTenantId();
        int result4 = (result3 * 59) + ($tenantId == null ? 43 : $tenantId.hashCode());
        Object $executor = getExecutor();
        int result5 = (result4 * 59) + ($executor == null ? 43 : $executor.hashCode());
        Object $data = getData();
        int result6 = (result5 * 59) + ($data == null ? 43 : $data.hashCode());
        Object $extendInfo = getExtendInfo();
        int result7 = (result6 * 59) + ($extendInfo == null ? 43 : $extendInfo.hashCode());
        Object $relatedPersonals = getRelatedPersonals();
        int result8 = (result7 * 59) + ($relatedPersonals == null ? 43 : $relatedPersonals.hashCode());
        Object $taskExecutorTypeEnum = getTaskExecutorTypeEnum();
        return (result8 * 59) + ($taskExecutorTypeEnum == null ? 43 : $taskExecutorTypeEnum.hashCode());
    }
 
    public String toString() {
        return "TaskExecutionContext(contextId=" + getContextId() + ", name=" + getName() + ", business=" + getBusiness() + ", tenantId=" + getTenantId() + ", executor=" + getExecutor() + ", data=" + getData() + ", extendInfo=" + getExtendInfo() + ", relatedPersonals=" + getRelatedPersonals() + ", taskExecutorTypeEnum=" + getTaskExecutorTypeEnum() + ")";
    }
 
    public String getContextId() {
        return this.contextId;
    }
 
    public String getName() {
        return this.name;
    }
 
    public String getBusiness() {
        return this.business;
    }
 
    public String getTenantId() {
        return this.tenantId;
    }
 
    public String getExecutor() {
        return this.executor;
    }
 
    public Map<String, Object> getData() {
        return this.data;
    }
 
    public Map<String, Object> getExtendInfo() {
        return this.extendInfo;
    }
 
    public List<String> getRelatedPersonals() {
        return this.relatedPersonals;
    }
 
    public TaskExecutorTypeEnum getTaskExecutorTypeEnum() {
        return this.taskExecutorTypeEnum;
    }
}