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() |
TypeDefinition<?> |
getValueType() |
boolean |
hasEnabledProperty() |
void |
setCategory(CategoryDefinition category) |
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, setValue, 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, logpublic boolean hasEnabledProperty
hasEnabledProperty 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 java.lang.String shortLabel()
SHORT_LABEL_KEY