public class TcaDataCollectionConfig extends Object implements Serializable, Comparable<TcaDataCollectionConfig>
Modifier and Type | Field and Description |
---|---|
static String |
TCA_DATACOLLECTION_CONFIG_FILE
The Constant TCA_DATACOLLECTION_CONFIG_FILE.
|
Constructor and Description |
---|
TcaDataCollectionConfig()
Instantiates a new TCA data collection configuration.
|
Modifier and Type | Method and Description |
---|---|
void |
addDataCollection(TcaDataCollection dataCollection)
Adds the data collection.
|
RrdRepository |
buildRrdRepository(String collectionName)
Builds the RRD repository.
|
int |
compareTo(TcaDataCollectionConfig obj) |
boolean |
equals(Object obj) |
TcaDataCollection |
getDataCollectionByName(String name)
Gets the data collection by name.
|
String |
getRrdRepository()
Gets the RRD repository.
|
List<TcaDataCollection> |
getTcaDataCollections()
Gets the TCA data collections.
|
int |
hashCode() |
void |
removeDataCollection(TcaDataCollection dataCollection)
Removes the data collection.
|
void |
removeDataCollectionByName(String name)
Removes the data collection by name.
|
void |
setRrdRepository(String rrdRepository)
Sets the RRD repository.
|
void |
setTcaDataCollections(List<TcaDataCollection> tcaDataCollections)
Sets the TCA data collections.
|
public static final String TCA_DATACOLLECTION_CONFIG_FILE
public TcaDataCollectionConfig()
public String getRrdRepository()
public void setRrdRepository(String rrdRepository)
rrdRepository
- the new RRD repositorypublic List<TcaDataCollection> getTcaDataCollections()
public void setTcaDataCollections(List<TcaDataCollection> tcaDataCollections)
tcaDataCollections
- the new TCA data collectionspublic void addDataCollection(TcaDataCollection dataCollection)
dataCollection
- the data collectionpublic void removeDataCollection(TcaDataCollection dataCollection)
dataCollection
- the data collectionpublic void removeDataCollectionByName(String name)
name
- the namepublic TcaDataCollection getDataCollectionByName(String name)
name
- the namepublic RrdRepository buildRrdRepository(String collectionName)
collectionName
- the collection namepublic int compareTo(TcaDataCollectionConfig obj)
compareTo
in interface Comparable<TcaDataCollectionConfig>
Copyright © 2021. All rights reserved.