public final class ConfiguredObjectInjectedStatistic<C extends ConfiguredObject,T extends Number> extends Object implements ConfiguredObjectStatistic<C,T>
InjectedAttributeStatisticOrOperation.TypeValidator
Constructor and Description |
---|
ConfiguredObjectInjectedStatistic(String name,
Method method,
Object[] staticParams,
String description,
InjectedAttributeStatisticOrOperation.TypeValidator typeValidator,
StatisticUnit units,
StatisticType type,
String label) |
Modifier and Type | Method and Description |
---|---|
boolean |
appliesToConfiguredObjectType(Class<? extends ConfiguredObject<?>> type) |
T |
convert(Object value,
C object) |
org.apache.qpid.server.model.AttributeValueConverter<T> |
getConverter() |
String |
getDescription() |
Type |
getGenericType() |
String |
getLabel() |
String |
getName() |
StatisticType |
getStatisticType() |
Class<T> |
getType() |
StatisticUnit |
getUnits() |
T |
getValue(C configuredObject) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConverter, getGenericType, getName, getType
public ConfiguredObjectInjectedStatistic(String name, Method method, Object[] staticParams, String description, InjectedAttributeStatisticOrOperation.TypeValidator typeValidator, StatisticUnit units, StatisticType type, String label)
public String getDescription()
getDescription
in interface ConfiguredObjectStatistic<C extends ConfiguredObject,T extends Number>
public StatisticUnit getUnits()
getUnits
in interface ConfiguredObjectStatistic<C extends ConfiguredObject,T extends Number>
public StatisticType getStatisticType()
getStatisticType
in interface ConfiguredObjectStatistic<C extends ConfiguredObject,T extends Number>
public String getLabel()
getLabel
in interface ConfiguredObjectStatistic<C extends ConfiguredObject,T extends Number>
public T getValue(C configuredObject)
getValue
in interface ConfiguredObjectAttributeOrStatistic<C extends ConfiguredObject,T extends Number>
public final String getName()
getName
in interface ConfiguredObjectAttributeOrStatistic<C extends ConfiguredObject,T>
public final Class<T> getType()
getType
in interface ConfiguredObjectAttributeOrStatistic<C extends ConfiguredObject,T>
public final Type getGenericType()
getGenericType
in interface ConfiguredObjectAttributeOrStatistic<C extends ConfiguredObject,T>
public final org.apache.qpid.server.model.AttributeValueConverter<T> getConverter()
getConverter
in interface ConfiguredObjectAttributeOrStatistic<C extends ConfiguredObject,T>
public final boolean appliesToConfiguredObjectType(Class<? extends ConfiguredObject<?>> type)
appliesToConfiguredObjectType
in interface InjectedAttributeStatisticOrOperation<C extends ConfiguredObject>
public final T convert(Object value, C object)
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.