org.rhq.core.domain.measurement
Class MeasurementScheduleRequest
java.lang.Object
org.rhq.core.domain.measurement.MeasurementScheduleRequest
- All Implemented Interfaces:
- Serializable
public class MeasurementScheduleRequest
- extends Object
- implements Serializable
This class is a stripped down version of the MeasurementSchedule
from the domain project. It is used to send
between Agent and Server, so it does not need all fields.
- See Also:
MeasurementSchedule
,
Serialized Form
MeasurementScheduleRequest
public MeasurementScheduleRequest(MeasurementSchedule schedule)
MeasurementScheduleRequest
public MeasurementScheduleRequest(int scheduleId,
String name,
long interval,
boolean enabled,
DataType dataType)
MeasurementScheduleRequest
public MeasurementScheduleRequest(int scheduleId,
String name,
long interval,
boolean enabled,
DataType dataType,
NumericType rawNumericType)
MeasurementScheduleRequest
public MeasurementScheduleRequest(MeasurementScheduleRequest scheduleRequest)
getName
public String getName()
setName
public void setName(String name)
getScheduleId
public int getScheduleId()
setScheduleId
public void setScheduleId(int scheduleId)
getInterval
public long getInterval()
setInterval
public void setInterval(long interval)
isEnabled
public boolean isEnabled()
setEnabled
public void setEnabled(boolean enabled)
getDataType
public DataType getDataType()
isPerMinute
public boolean isPerMinute()
getRawNumericType
public NumericType getRawNumericType()
toString
public String toString()
- Overrides:
toString
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.