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, setValues
addDeprecatedId, bind, description, equals, formattedString, formattedString, getDeprecatedIds, getElementName, getExtensionBundle, getId, getName, getStrings, hashCode, label, missingLabel, missingString, propertyDescription, propertyLabel, propertyString, setStrings, string, toString
getColumnNumber, getContext, getExtensionId, getLineNumber, getPublicId, getSystemId, isExtensionLoaded, log, log
hasEnabledProperty
in class BeanDefinition
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 CategoryDefinition getCategory()
getCategory
in interface HasCategory
public void setCategory(CategoryDefinition category)
setCategory
in interface HasCategory
public boolean hasEnabledProperty()
hasEnabledProperty
in class BeanDefinition
public void setValueType(TypeDefinition<?> valueType)
public TypeDefinition<?> getValueType()
public void setThreshold(Value threshold)
public Value getThreshold()
public java.lang.String shortLabel()
SHORT_LABEL_KEY