@Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } DefaultSchedulingContext that = (DefaultSchedulingContext) o; if (agents != null ? !agents.equals(that.agents) : that.agents != null) { return false; } if (approvedBy != null ? !approvedBy.equals(that.approvedBy) : that.approvedBy != null) { return false; } if (variables != null ? !variables.equals(that.variables) : that.variables != null) { return false; } return true; }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; JobConfig jobConfig = (JobConfig) o; if (runOnAllAgents != jobConfig.runOnAllAgents) return false; if (jobName != null ? !jobName.equals(jobConfig.jobName) : jobConfig.jobName != null) return false; if (variables != null ? !variables.equals(jobConfig.variables) : jobConfig.variables != null) return false; if (tasks != null ? !tasks.equals(jobConfig.tasks) : jobConfig.tasks != null) return false; if (tabs != null ? !tabs.equals(jobConfig.tabs) : jobConfig.tabs != null) return false; if (resourceConfigs != null ? !resourceConfigs.equals(jobConfig.resourceConfigs) : jobConfig.resourceConfigs != null) return false; if (artifactConfigs != null ? !artifactConfigs.equals(jobConfig.artifactConfigs) : jobConfig.artifactConfigs != null) return false; if (artifactPropertiesConfig != null ? !artifactPropertiesConfig.equals(jobConfig.artifactPropertiesConfig) : jobConfig.artifactPropertiesConfig != null) return false; if (runInstanceCount != null ? !runInstanceCount.equals(jobConfig.runInstanceCount) : jobConfig.runInstanceCount != null) return false; if (timeout != null ? !timeout.equals(jobConfig.timeout) : jobConfig.timeout != null) return false; return elasticProfileId != null ? elasticProfileId.equals(jobConfig.elasticProfileId) : jobConfig.elasticProfileId == null; }
return false; if (variables != null ? !variables.equals(that.variables) : that.variables != null) { return false;
@Override public boolean equals(Object o) { if (this == o) { return true; } EnvironmentConfig that = as(EnvironmentConfig.class, o); if (that == null) return false; if (agents != null ? !agents.equals(that.getAgents()) : that.getAgents() != null) { return false; } if (name != null ? !name.equals(that.name()) : that.name() != null) { return false; } if (pipelines != null ? !pipelines.equals(that.getPipelines()) : that.getPipelines() != null) { return false; } if (variables != null ? !variables.equals(that.getVariables()) : that.getVariables() != null) { return false; } return true; }
@Override public boolean equals(Object o) { if (this == o) { return true; } EnvironmentConfig that = as(EnvironmentConfig.class, o); if (that == null) return false; if (this.getAgents() != null ? !this.getAgents().equals(that.getAgents()) : that.getAgents() != null) { return false; } if (this.name() != null ? !this.name().equals(that.name()) : that.name() != null) { return false; } if (this.getPipelines() != null ? !this.getPipelines().equals(that.getPipelines()) : that.getPipelines() != null) { return false; } if (this.getVariables() != null ? !this.getVariables().equals(that.getVariables()) : that.getVariables() != null) { return false; } return true; }