Class DefaultCollectionJob

  • All Implemented Interfaces:
    java.io.Serializable, CollectionJob

    public class DefaultCollectionJob
    extends java.lang.Object
    implements CollectionJob
    Author:
    Christian Pape, Markus Neumann
    See Also:
    Serialized Form
    • Constructor Detail

      • DefaultCollectionJob

        public DefaultCollectionJob()
    • Method Detail

      • getId

        public java.lang.String getId()
        Specified by:
        getId in interface CollectionJob
      • setId

        public void setId​(java.lang.String id)
        Specified by:
        setId in interface CollectionJob
      • setSite

        public void setSite​(java.lang.String site)
        Specified by:
        setSite in interface CollectionJob
      • setNetInterface

        public void setNetInterface​(java.lang.String netInterface)
        Specified by:
        setNetInterface in interface CollectionJob
      • setService

        public void setService​(java.lang.String service)
        Specified by:
        setService in interface CollectionJob
      • setParameters

        public void setParameters​(java.util.Map<java.lang.String,​java.lang.Object> parameters)
        Specified by:
        setParameters in interface CollectionJob
      • getParameters

        public java.util.Map<java.lang.String,​java.lang.Object> getParameters()
        Specified by:
        getParameters in interface CollectionJob
      • addMetric

        public void addMetric​(java.lang.String metricId,
                              java.util.Set<java.lang.String> destinationSet,
                              java.lang.String onmsLogicMetricId)
                       throws java.lang.IllegalArgumentException
        Specified by:
        addMetric in interface CollectionJob
        Throws:
        java.lang.IllegalArgumentException
      • setMetricValue

        public void setMetricValue​(java.lang.String metricId,
                                   java.lang.String metricType,
                                   java.lang.String value)
                            throws java.lang.IllegalArgumentException
        Specified by:
        setMetricValue in interface CollectionJob
        Throws:
        java.lang.IllegalArgumentException
      • setMetricValue

        public void setMetricValue​(java.lang.String metricId,
                                   java.lang.String value)
                            throws java.lang.IllegalArgumentException
        Specified by:
        setMetricValue in interface CollectionJob
        Throws:
        java.lang.IllegalArgumentException
      • getMetricValue

        public java.lang.String getMetricValue​(java.lang.String metricId)
                                        throws java.lang.IllegalArgumentException
        Specified by:
        getMetricValue in interface CollectionJob
        Throws:
        java.lang.IllegalArgumentException
      • getMetricType

        public java.lang.String getMetricType​(java.lang.String metricId)
                                       throws java.lang.IllegalArgumentException
        Specified by:
        getMetricType in interface CollectionJob
        Throws:
        java.lang.IllegalArgumentException