Package | Description |
---|---|
org.jboss.as.controller | |
org.jboss.as.controller.client.helpers |
Modifier and Type | Field and Description |
---|---|
protected MeasurementUnit |
AbstractAttributeDefinitionBuilder.measurementUnit |
Modifier and Type | Method and Description |
---|---|
MeasurementUnit |
AbstractAttributeDefinitionBuilder.getMeasurementUnit() |
MeasurementUnit |
AttributeDefinition.getMeasurementUnit()
The unit of measure in which an attribute with a numerical value is expressed.
|
Modifier and Type | Method and Description |
---|---|
BUILDER |
AbstractAttributeDefinitionBuilder.setMeasurementUnit(MeasurementUnit unit)
Sets a
measurement unit to describe the unit in
which a numeric attribute is expressed. |
Constructor and Description |
---|
AttributeDefinition(String name,
String xmlName,
org.jboss.dmr.ModelNode defaultValue,
org.jboss.dmr.ModelType type,
boolean allowNull,
boolean allowExpression,
MeasurementUnit measurementUnit,
ParameterCorrector valueCorrector,
ParameterValidator validator,
boolean validateNull,
String[] alternatives,
String[] requires,
AttributeMarshaller attributeMarshaller,
boolean resourceOnly,
DeprecationData deprecationData,
AccessConstraintDefinition[] accessConstraints,
Boolean nilSignificant,
AttributeParser parser,
AttributeAccess.Flag... flags) |
SimpleAttributeDefinition(String name,
org.jboss.dmr.ModelType type,
boolean allowNull,
MeasurementUnit measurementUnit)
Creates a new attribute definition.
|
SimpleAttributeDefinition(String name,
org.jboss.dmr.ModelType type,
boolean allowNull,
MeasurementUnit measurementUnit,
AttributeAccess.Flag... flags)
Creates a new attribute definition.
|
Modifier and Type | Method and Description |
---|---|
MeasurementUnit |
MeasurementUnit.getBaseUnits() |
static MeasurementUnit |
MeasurementUnit.getUsingDisplayUnits(String displayUnits,
MeasurementUnit.Family family) |
static MeasurementUnit |
MeasurementUnit.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MeasurementUnit[] |
MeasurementUnit.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Double |
MeasurementUnit.calculateOffset(MeasurementUnit first,
MeasurementUnit second) |
boolean |
MeasurementUnit.isComparableTo(MeasurementUnit other) |
Copyright © 2023 JBoss by Red Hat. All rights reserved.