public final class CCSVersions extends Object implements Serializable
| Constructor and Description |
|---|
CCSVersions()
Default constructor.
|
CCSVersions(CCSVersions versions)
Copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(AgentInfo agent,
DistributionInfo distInfo)
Add a new AgentInfo, DistributionInfo pair.
|
Set<AgentInfo> |
getAgents()
Get the Set of AgentInfo contained in this class.
|
DistributionInfo |
getDistributionInfo(AgentInfo agent)
Get the DistributionInfo for a given AgentInfo.
|
DistributionInfo |
getDistributionInfo(String agent)
Get the DistributionInfo for a given agent by name.
|
void |
remove(AgentInfo agent)
Remove an AgentInfo.
|
String |
toString() |
public CCSVersions()
public CCSVersions(CCSVersions versions)
versions - The object to copy.public void add(AgentInfo agent, DistributionInfo distInfo)
agent - The AgentInfodistInfo - The DistributionInfopublic void remove(AgentInfo agent)
agent - The AgentInfopublic DistributionInfo getDistributionInfo(AgentInfo agent)
agent - The AgentInfo for which to get the DistributionInfo.public DistributionInfo getDistributionInfo(String agent)
agent - The name of the for which to get the DistributionInfo.public Set<AgentInfo> getAgents()
Copyright © 2022 LSST. All rights reserved.