public class Service extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
HA_ENABLED_PARAM |
| Constructor and Description |
|---|
Service() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDispatch(CustomDispatch dispatch)
Add a custom dispatch that overrides the dispatch
specified in service definition.
|
void |
addParam(Param param) |
void |
addUrl(String url) |
boolean |
equals(Object object) |
CustomDispatch |
getDispatch()
Dispatch configured in topology service.
|
String |
getName() |
Map<String,String> |
getParams() |
Collection<Param> |
getParamsList() |
String |
getRole() |
String |
getUrl() |
List<String> |
getUrls() |
Version |
getVersion() |
int |
hashCode() |
void |
setName(String name) |
void |
setParams(Map<String,String> params) |
void |
setParamsList(Collection<Param> params) |
void |
setRole(String role) |
void |
setUrls(List<String> urls) |
void |
setVersion(Version version) |
public static final String HA_ENABLED_PARAM
public String getRole()
public void setRole(String role)
public String getName()
public void setName(String name)
public Version getVersion()
public void setVersion(Version version)
public String getUrl()
public void addUrl(String url)
public Collection<Param> getParamsList()
public void setParamsList(Collection<Param> params)
public void addParam(Param param)
public CustomDispatch getDispatch()
public void addDispatch(CustomDispatch dispatch)
dispatch - dispatch to addCopyright © 2022 The Apache Software Foundation. All rights reserved.