com.alibaba.otter.canal.parse.support.HaAuthenticationInfo Maven / Gradle / Ivy
package com.alibaba.otter.canal.parse.support;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
/**
* @author zebin.xuzb 2012-9-26 下午3:08:11
* @version 1.0.0
*/
public class HaAuthenticationInfo {
private AuthenticationInfo master;
private List slavers = new ArrayList<>();
public AuthenticationInfo getMaster() {
return master;
}
public void setMaster(AuthenticationInfo master) {
this.master = master;
}
public List getSlavers() {
return slavers;
}
public void addSlaver(AuthenticationInfo slaver) {
this.slavers.add(slaver);
}
public void addSlavers(Collection slavers) {
this.slavers.addAll(slavers);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy