public class MetricDefinition extends BeanDefinition implements HasCategory
| Type | Property and Description | 
|---|---|
boolean | 
hasEnabled  | 
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
SHORT_LABEL_KEY
The key for the short label of a bean. 
 | 
DESCRIPTION_KEY, LABEL_KEY| Constructor and Description | 
|---|
MetricDefinition(java.lang.String id,
                CategoryDefinition category,
                ExtensionBundle bundle,
                DefinitionContext context)  | 
| Modifier and Type | Method and Description | 
|---|---|
CategoryDefinition | 
getCategory()  | 
Value | 
getThreshold()  | 
TypeDefinition<?> | 
getValueType()  | 
boolean | 
hasEnabledProperty()  | 
void | 
setCategory(CategoryDefinition category)  | 
void | 
setThreshold(Value threshold)  | 
void | 
setValueType(TypeDefinition<?> valueType)  | 
java.lang.String | 
shortLabel()
Gets the localized short label of a defined bean, or null if none. 
 | 
getImplementationClass, getValue, getValues, isEnabledByDefault, setImplementationClass, setValuesaddDeprecatedId, bind, description, equals, formattedString, formattedString, getDeprecatedIds, getElementName, getExtensionBundle, getId, getName, getStrings, hashCode, label, missingLabel, missingString, propertyDescription, propertyLabel, propertyString, setStrings, string, toStringgetColumnNumber, getContext, getExtensionId, getLineNumber, getPublicId, getSystemId, isExtensionLoaded, log, loghasEnabledProperty in class BeanDefinitionpublic static final java.lang.String SHORT_LABEL_KEY
shortLabel(), 
Constant Field Valuespublic MetricDefinition(java.lang.String id,
                CategoryDefinition category,
                ExtensionBundle bundle,
                DefinitionContext context)
public CategoryDefinition getCategory()
getCategory in interface HasCategorypublic void setCategory(CategoryDefinition category)
setCategory in interface HasCategorypublic boolean hasEnabledProperty()
hasEnabledProperty in class BeanDefinitionpublic void setValueType(TypeDefinition<?> valueType)
public TypeDefinition<?> getValueType()
public void setThreshold(Value threshold)
public Value getThreshold()
public java.lang.String shortLabel()
SHORT_LABEL_KEY