com.alibaba.tmq.common.domain.TargetEnum Maven / Gradle / Ivy
package com.alibaba.tmq.common.domain;
/**
* @author Created by yanxun on 2018/8/3.
*/
public enum TargetEnum {
/*
指定连接上海机房
*/
SH("sh"),
/**
* 指定连接张北机房
*/
ZB("zb"),
/**
* 指定连接两个机房
*/
BOTH("both");
private String target;
TargetEnum(String target) {
this.target = target;
}
public String getTarget() {
return target;
}
public void setTarget(String target) {
this.target = target;
}
}