public class Service extends Object implements Serializable
| Constructor and Description |
|---|
Service(String serviceName,
ServiceType serviceType) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCluster(Cluster cluster) |
void |
addPort(Port port) |
void |
addPorts(Collection<Port> ports) |
boolean |
clusterExists(String clusterId) |
Cluster |
getCluster(String clusterId) |
Collection<Cluster> |
getClusters() |
Port |
getPort(int proxy) |
Collection<Port> |
getPorts() |
Properties |
getProperties() |
String |
getServiceName() |
ServiceType |
getServiceType() |
boolean |
portExists(Port port) |
void |
removeCluster(Cluster cluster) |
Cluster |
removeCluster(String clusterId) |
void |
removePort(Port port) |
void |
setProperties(Properties properties) |
String |
toString() |
public Service(String serviceName, ServiceType serviceType)
public String getServiceName()
public ServiceType getServiceType()
public Collection<Cluster> getClusters()
public void addCluster(Cluster cluster)
public void removeCluster(Cluster cluster)
public boolean clusterExists(String clusterId)
public Collection<Port> getPorts()
public Port getPort(int proxy)
public void addPort(Port port)
public void addPorts(Collection<Port> ports)
public void removePort(Port port)
public boolean portExists(Port port)
public Properties getProperties()
public void setProperties(Properties properties)
Copyright © 2012–2016 The Apache Software Foundation. All rights reserved.