org.rhq.core.domain.measurement.composite
Class MeasurementScheduleComposite

java.lang.Object
  extended by org.rhq.core.domain.measurement.composite.MeasurementScheduleComposite

public class MeasurementScheduleComposite
extends Object

A composite object used to display metric collection schedules - represents one of the following:


Constructor Summary
MeasurementScheduleComposite(MeasurementDefinition measurementDefinition)
           
MeasurementScheduleComposite(MeasurementDefinition measurementDefinition, boolean collectionEnabled, long collectionInterval)
           
 
Method Summary
 long getCollectionInterval()
           
 MeasurementDefinition getMeasurementDefinition()
           
 boolean isCollectionEnabled()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MeasurementScheduleComposite

public MeasurementScheduleComposite(MeasurementDefinition measurementDefinition)

MeasurementScheduleComposite

public MeasurementScheduleComposite(MeasurementDefinition measurementDefinition,
                                    boolean collectionEnabled,
                                    long collectionInterval)
Method Detail

getMeasurementDefinition

public MeasurementDefinition getMeasurementDefinition()

isCollectionEnabled

public boolean isCollectionEnabled()

getCollectionInterval

public long getCollectionInterval()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008 RHQ Project Advisory Board (Red Hat, Inc. and Hyperic, Inc.). All Rights Reserved.