public static class PropertiesAttributeDefinition.Builder extends MapAttributeDefinition.Builder<PropertiesAttributeDefinition.Builder,PropertiesAttributeDefinition>
elementValidator
accessConstraints, allowedValues, allowExpression, allowNull, alternatives, arbitraryDescriptors, attributeGroup, attributeMarshaller, corrector, defaultValue, deprecated, flags, maxSize, measurementUnit, minSize, name, nullSignificant, parser, referenceRecorder, requires, resourceOnly, type, validateNull, validator, xmlName
Constructor and Description |
---|
Builder(MapAttributeDefinition basis) |
Builder(PropertiesAttributeDefinition basis) |
Builder(String name,
boolean optional) |
Modifier and Type | Method and Description |
---|---|
PropertiesAttributeDefinition |
build()
Create the
AttributeDefinition |
PropertiesAttributeDefinition.Builder |
setWrapperElement(String name)
Deprecated.
use setParser(new AttributeParser.PropertiesParsers(wrapper)
|
PropertiesAttributeDefinition.Builder |
setWrapXmlElement(boolean wrap)
Deprecated.
use setParser(new AttributeParser.PropertiesParsers(wrapper)
|
PropertiesAttributeDefinition.Builder |
setXmlName(String xmlName)
Deprecated.
use setParser(new AttributeParser.PropertiesParsers(wrapper)
|
getAllowNullElement, getElementValidator, getMaxSize, getMinSize, getValidator, setAllowNullElement, setElementValidator, setMapValidator, setValidator
addAccessConstraint, addAlternatives, addArbitraryDescriptor, addFlag, getAccessConstraints, getAllowedValues, getAlternatives, getArbitraryDescriptors, getAttributeGroup, getAttributeMarshaller, getCapabilityReferenceRecorder, getCorrector, getDefaultValue, getDeprecated, getFlags, getMeasurementUnit, getName, getNullSignificant, getParser, getRequires, getType, getUndefinedMetricValue, getXmlName, isAllowExpression, isAllowNull, isFlagPresent, isResourceOnly, isValidateNull, removeAlternatives, removeFlag, setAccessConstraints, setAllowedValues, setAllowedValues, setAllowedValues, setAllowExpression, setAllowNull, setAlternatives, setAttributeGroup, setAttributeMarshaller, setAttributeParser, setCapabilityReference, setCapabilityReference, setCapabilityReference, setCapabilityReference, setCapabilityReference, setCapabilityReference, setCapabilityReference, setCorrector, setDefaultValue, setDeprecated, setDeprecated, setExpressionsDeprecated, setFlags, setMaxSize, setMeasurementUnit, setMinSize, setName, setNullSignficant, setNullSignificant, setRequired, setRequires, setResourceOnly, setRestartAllServices, setRestartJVM, setRuntimeServiceNotRequired, setStorageRuntime, setType, setUndefinedMetricValue, setValidateNull
public Builder(String name, boolean optional)
public Builder(PropertiesAttributeDefinition basis)
public Builder(MapAttributeDefinition basis)
@Deprecated public PropertiesAttributeDefinition.Builder setWrapXmlElement(boolean wrap)
@Deprecated public PropertiesAttributeDefinition.Builder setWrapperElement(String name)
public PropertiesAttributeDefinition.Builder setXmlName(String xmlName)
AbstractAttributeDefinitionBuilder
xml name
for the attribute, which is only needed
if the name used for the attribute is different from its ordinary
name in the model
. If not set the default value is the name
passed to the builder constructor.setXmlName
in class AbstractAttributeDefinitionBuilder<PropertiesAttributeDefinition.Builder,PropertiesAttributeDefinition>
xmlName
- the xml name. null
is allowedpublic PropertiesAttributeDefinition build()
AbstractAttributeDefinitionBuilder
AttributeDefinition
build
in class AbstractAttributeDefinitionBuilder<PropertiesAttributeDefinition.Builder,PropertiesAttributeDefinition>
null
Copyright © 2019 JBoss by Red Hat. All rights reserved.