public class MetricDefinition extends CategoryDefinition
| 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 |
|---|---|
Value |
getThreshold() |
TypeDefinition |
getValueType() |
boolean |
hasEnabledProperty() |
boolean |
isEnabled() |
void |
setEnabled(boolean enabled) |
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.
|
description, getCategory, getFeatureId, isModelCategory, label, setCategorygetImplementationClass, getValue, getValues, isEnabledByDefault, setImplementationClass, setValuesaddDeprecatedId, addString, equals, formattedString, formattedString, getDeprecatedIds, getElementName, getExtensionBundle, getId, getName, getStrings, getValue, hashCode, instantiate, key, labelOrId, propertyDescription, propertyLabel, propertyString, setStrings, string, toStringgetColumnNumber, getContext, getExtensionId, getLineNumber, getPublicId, getSystemId, isExtensionLoaded, log, loghasEnabledProperty in class CategoryDefinitionpublic static final java.lang.String SHORT_LABEL_KEY
shortLabel(), Constant Field Values
public MetricDefinition(java.lang.String id,
CategoryDefinition category,
ExtensionBundle bundle,
DefinitionContext context)
public boolean hasEnabledProperty()
hasEnabledProperty in class CategoryDefinitionpublic void setValueType(TypeDefinition valueType)
public TypeDefinition getValueType()
public boolean isEnabled()
public void setEnabled(boolean enabled)
public void setThreshold(Value threshold)
public Value getThreshold()
public java.lang.String shortLabel()
SHORT_LABEL_KEY