public class UiModel extends Object
JmxDatacollectionConfig
and provides some
methods to make life a little easier. So in the future we may support
multiple data soruces (and therefore multiple JmxDatacollectionConfigs), and
so on. Or we find out, that we do not need this class, then we will remove
it.Modifier and Type | Class and Description |
---|---|
static class |
UiModel.OutputDataKey |
Constructor and Description |
---|
UiModel() |
Modifier and Type | Method and Description |
---|---|
CollectdConfiguration |
getCollectdConfiguration()
Creates a CollectdConfiguration snippet depending on the data saved here.
|
JmxDatacollectionConfig |
getOutputConfig() |
Map<UiModel.OutputDataKey,String> |
getOutputMap() |
JmxDatacollectionConfig |
getRawModel() |
ServiceConfig |
getServiceConfig() |
String |
getServiceName() |
void |
setJmxDataCollectionAccordingToSelection(JmxDatacollectionConfig outputConfig) |
void |
setOutput(UiModel.OutputDataKey output,
String value) |
UiModel |
setRawModel(JmxDatacollectionConfig rawModel)
Set the real model and get the data we need out of it
|
void |
setServiceConfig(ServiceConfig serviceConfig) |
void |
setSnmpGraphProperties(String generatedSnmpGraphProperties) |
void |
updateOutput() |
public UiModel setRawModel(JmxDatacollectionConfig rawModel)
public JmxDatacollectionConfig getRawModel()
public String getServiceName()
public void setOutput(UiModel.OutputDataKey output, String value)
public Map<UiModel.OutputDataKey,String> getOutputMap()
public ServiceConfig getServiceConfig()
public void setJmxDataCollectionAccordingToSelection(JmxDatacollectionConfig outputConfig)
public JmxDatacollectionConfig getOutputConfig()
public void updateOutput()
public void setSnmpGraphProperties(String generatedSnmpGraphProperties)
public void setServiceConfig(ServiceConfig serviceConfig)
public CollectdConfiguration getCollectdConfiguration()
Copyright © 2021. All rights reserved.