Class UiModel


  • public class UiModel
    extends Object
    This class wraps the 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.
    Author:
    Markus von RĂ¼den
    • Constructor Detail

      • UiModel

        public UiModel()
    • Method Detail

      • getServiceName

        public String getServiceName()
      • setJmxDataCollectionAccordingToSelection

        public void setJmxDataCollectionAccordingToSelection​(JmxDatacollectionConfig outputConfig)
      • updateOutput

        public void updateOutput()
      • setSnmpGraphProperties

        public void setSnmpGraphProperties​(String generatedSnmpGraphProperties)
      • setServiceConfig

        public void setServiceConfig​(ServiceConfig serviceConfig)
      • getCollectdConfiguration

        public CollectdConfiguration getCollectdConfiguration()
        Creates a CollectdConfiguration snippet depending on the data saved here.
        Returns:
        The CollecdConfiguration snippet depending on the data saved in this model.