Class DubboUpstream
- java.lang.Object
-
- org.apache.shenyu.common.dto.convert.selector.CommonUpstream
-
- org.apache.shenyu.common.dto.convert.selector.DubboUpstream
-
public final class DubboUpstream extends CommonUpstream
The type Dubbo selector upstream.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDubboUpstream.Builderclass builder.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DubboUpstream.Builderbuilder()class builder.booleanequals(java.lang.Object o)java.lang.StringgetAppName()get appName.java.lang.StringgetGroup()Gets the value of group.intgetPort()get port.java.lang.StringgetRegistry()get registry.java.lang.StringgetVersion()Gets the value of version.intgetWarmup()Gets the value of warmup.intgetWeight()Gets the value of weight.inthashCode()java.lang.BooleanisGray()Gets the value of gray.voidsetAppName(java.lang.String appName)set appName.voidsetGray(java.lang.Boolean gray)Sets the gray.voidsetGroup(java.lang.String group)Sets the group.voidsetPort(int port)set port.voidsetRegistry(java.lang.String registry)set registry.voidsetVersion(java.lang.String version)Sets the version.voidsetWarmup(int warmup)Sets the warmup.voidsetWeight(int weight)Sets the weight.java.lang.StringtoString()-
Methods inherited from class org.apache.shenyu.common.dto.convert.selector.CommonUpstream
defaultStatus, getProtocol, getTimestamp, getUpstreamHost, getUpstreamUrl, isStatus, setProtocol, setStatus, setTimestamp, setUpstreamHost, setUpstreamUrl
-
-
-
-
Method Detail
-
builder
public static DubboUpstream.Builder builder()
class builder.- Returns:
- Builder
-
getRegistry
public java.lang.String getRegistry()
get registry.- Returns:
- registry
-
setRegistry
public void setRegistry(java.lang.String registry)
set registry.- Parameters:
registry- registry
-
getAppName
public java.lang.String getAppName()
get appName.- Returns:
- appName
-
setAppName
public void setAppName(java.lang.String appName)
set appName.- Parameters:
appName- appName
-
getPort
public int getPort()
get port.- Returns:
- port
-
setPort
public void setPort(int port)
set port.- Parameters:
port- port
-
isGray
public java.lang.Boolean isGray()
Gets the value of gray.- Returns:
- the value of gray
-
setGray
public void setGray(java.lang.Boolean gray)
Sets the gray.- Parameters:
gray- gray
-
getWeight
public int getWeight()
Gets the value of weight.- Returns:
- the value of weight
-
setWeight
public void setWeight(int weight)
Sets the weight.- Parameters:
weight- weight
-
getWarmup
public int getWarmup()
Gets the value of warmup.- Returns:
- the value of warmup
-
setWarmup
public void setWarmup(int warmup)
Sets the warmup.- Parameters:
warmup- warmup
-
getGroup
public java.lang.String getGroup()
Gets the value of group.- Returns:
- the value of group
-
setGroup
public void setGroup(java.lang.String group)
Sets the group.- Parameters:
group- group
-
getVersion
public java.lang.String getVersion()
Gets the value of version.- Returns:
- the value of version
-
setVersion
public void setVersion(java.lang.String version)
Sets the version.- Parameters:
version- version
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classCommonUpstream
-
hashCode
public int hashCode()
- Overrides:
hashCodein classCommonUpstream
-
toString
public java.lang.String toString()
- Overrides:
toStringin classCommonUpstream
-
-