public class Cluster extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Cluster.Interface
Cluster interface.
|
static class |
Cluster.Location
Cluster location
|
| Constructor and Description |
|---|
Cluster(String name,
String colo,
Set<Cluster.Interface> interfaces,
Set<Cluster.Location> locations,
Map<String,String> properties)
Construct a cluster.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getColo()
Get the colo.
|
Set<Cluster.Interface> |
getInterfaces()
Get the interfaces.
|
Set<Cluster.Location> |
getLocations()
Get the locations.
|
String |
getName()
Get the cluster name.
|
Map<String,String> |
getProperties()
Get the properties.
|
int |
hashCode() |
public Cluster(String name, String colo, Set<Cluster.Interface> interfaces, Set<Cluster.Location> locations, Map<String,String> properties)
name - the cluster namecolo - the colointerfaces - the interfaceslocations - the locationsproperties - the propertiespublic String getName()
public String getColo()
public Set<Cluster.Interface> getInterfaces()
public Set<Cluster.Location> getLocations()
Copyright © 2022 Apache Software Foundation. All rights reserved.