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, setCategory
getImplementationClass, getValue, getValues, isEnabledByDefault, setImplementationClass, setValues
addDeprecatedId, addString, equals, formattedString, formattedString, getDeprecatedIds, getElementName, getExtensionBundle, getId, getName, getStrings, getValue, hashCode, instantiate, key, labelOrId, propertyDescription, propertyLabel, propertyString, setStrings, string, toString
getColumnNumber, getContext, getExtensionId, getLineNumber, getPublicId, getSystemId, isExtensionLoaded, log, log
hasEnabledProperty
in class CategoryDefinition
public static final java.lang.String SHORT_LABEL_KEY
shortLabel()
, Constant Field Valuespublic MetricDefinition(java.lang.String id, CategoryDefinition category, ExtensionBundle bundle, DefinitionContext context)
public boolean hasEnabledProperty()
hasEnabledProperty
in class CategoryDefinition
public 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