public final class TeamConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TeamConfiguration.MemberConfiguration
MemberConfiguration class holds the
Host and priority of a
member of the team. |
Constructor and Description |
---|
TeamConfiguration(IpAddress teamIp,
long configurationRevision,
Set<TeamConfiguration.MemberConfiguration> members)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
getConfigurationRevision()
Get the team configuration revision
|
Set<TeamConfiguration.MemberConfiguration> |
getMembers()
Get the set of members in the team configuration.
|
IpAddress |
getTeamIp()
Gets the North-bound team IP address from the team configuration.
|
String |
toString() |
public TeamConfiguration(IpAddress teamIp, long configurationRevision, Set<TeamConfiguration.MemberConfiguration> members)
teamIp
- The North-bound Team IP addressconfigurationRevision
- The revision of Team configuration.members
- A set of (potential) MemberConfiguration
public IpAddress getTeamIp()
public long getConfigurationRevision()
public Set<TeamConfiguration.MemberConfiguration> getMembers()
MemberConfiguration
in the team configurationCopyright © 2015. All Rights Reserved.