Interface MonitoringAttributes
-
- All Known Implementing Classes:
BasicMonitoringAttributes
public interface MonitoringAttributesAn interface defining the different methods required by the UI components to display monitoring attributes data.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanHaveAverage()Returnstrueif the average for this attribute makes sense andfalseotherwise.StringgetAttributeName()Returns the name of the attribute.org.forgerock.i18n.LocalizableMessagegetMessage()Returns the message associated with the attribute (basically is the localized name of the operation associated with the attribute).booleanisGMTDate()Return whether this attribute contains a GMT date value or not.booleanisNumeric()Return whether this attribute contains a numeric value or not.booleanisNumericDate()Return whether this attribute contains a numeric date value or not.booleanisTime()Return whether this attribute contains a time value or not.booleanisValueInBytes()Return whether this attribute represents a value in bytes or not.
-
-
-
Method Detail
-
getMessage
org.forgerock.i18n.LocalizableMessage getMessage()
Returns the message associated with the attribute (basically is the localized name of the operation associated with the attribute).- Returns:
- the message associated with the attribute.
-
getAttributeName
String getAttributeName()
Returns the name of the attribute.- Returns:
- the name of the attribute.
-
isNumeric
boolean isNumeric()
Return whether this attribute contains a numeric value or not.- Returns:
trueif the value is numeric andfalseotherwise.
-
isTime
boolean isTime()
Return whether this attribute contains a time value or not.- Returns:
trueif the value is a time andfalseotherwise.
-
isNumericDate
boolean isNumericDate()
Return whether this attribute contains a numeric date value or not. The date is a long value in milliseconds.- Returns:
trueif the value is date andfalseotherwise.
-
isGMTDate
boolean isGMTDate()
Return whether this attribute contains a GMT date value or not. The date has a format of type ServerConstants.DATE_FORMAT_GMT_TIME.- Returns:
trueif the value is a GMT date andfalseotherwise.
-
isValueInBytes
boolean isValueInBytes()
Return whether this attribute represents a value in bytes or not.- Returns:
trueif the value represents a value in bytes andfalseotherwise.
-
canHaveAverage
boolean canHaveAverage()
Returnstrueif the average for this attribute makes sense andfalseotherwise.- Returns:
trueif the average for this attribute makes sense andfalseotherwise.
-
-