yangys
2024-03-27 e48aa2ac8dea1be5db11c63edf0b912c4ad5ce65
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
package com.qianwen.core.task.config;
 
import org.springframework.boot.context.properties.ConfigurationProperties;
 
@ConfigurationProperties(TaskProperties.PREFIX)
/* loaded from: blade-starter-task-9.3.0.0-SNAPSHOT.jar:org/springblade/core/task/config/TaskProperties.class */
public class TaskProperties {
    public static final String PREFIX = "blade.task";
    private String distributor = TaskDistributorTypeConstants.ROCKET;
 
    public void setDistributor(final String distributor) {
        this.distributor = distributor;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof TaskProperties) {
            TaskProperties other = (TaskProperties) o;
            if (other.canEqual(this)) {
                Object this$distributor = getDistributor();
                Object other$distributor = other.getDistributor();
                return this$distributor == null ? other$distributor == null : this$distributor.equals(other$distributor);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof TaskProperties;
    }
 
    public int hashCode() {
        Object $distributor = getDistributor();
        int result = (1 * 59) + ($distributor == null ? 43 : $distributor.hashCode());
        return result;
    }
 
    public String toString() {
        return "TaskProperties(distributor=" + getDistributor() + ")";
    }
 
    public String getDistributor() {
        return this.distributor;
    }
}