Package org.jboss.as.controller
Class PropertiesAttributeDefinition.Builder
java.lang.Object
org.jboss.as.controller.AbstractAttributeDefinitionBuilder<BUILDER,ATTRIBUTE>
org.jboss.as.controller.MapAttributeDefinition.Builder<PropertiesAttributeDefinition.Builder,PropertiesAttributeDefinition>
org.jboss.as.controller.PropertiesAttributeDefinition.Builder
- Enclosing class:
- PropertiesAttributeDefinition
public static class PropertiesAttributeDefinition.Builder
extends MapAttributeDefinition.Builder<PropertiesAttributeDefinition.Builder,PropertiesAttributeDefinition>
-
Field Summary
Fields inherited from class org.jboss.as.controller.MapAttributeDefinition.Builder
elementValidator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Create theAttributeDefinitionsetXmlName(String xmlName) Deprecated.use setParser(new AttributeParser.PropertiesParsers(wrapper)Methods inherited from class org.jboss.as.controller.MapAttributeDefinition.Builder
getAllowNullElement, getElementValidator, getMaxSize, getMinSize, getValidator, setAllowNullElement, setElementValidator, setMapValidator, setValidatorMethods inherited from class org.jboss.as.controller.AbstractAttributeDefinitionBuilder
addAccessConstraint, addAlternatives, addArbitraryDescriptor, addFlag, getAccessConstraints, getAllowedValues, getAlternatives, getArbitraryDescriptors, getAttributeGroup, getAttributeMarshaller, getCapabilityReferenceRecorder, getCorrector, getDefaultValue, getDeprecated, getFlags, getMeasurementUnit, getName, getNullSignificant, getParser, getRequires, getStability, getType, getUndefinedMetricValue, getXmlName, isAllowExpression, isFlagPresent, isNillable, isResourceOnly, removeAlternatives, removeFlag, setAccessConstraints, setAllowedValues, setAllowedValues, setAllowedValues, setAllowExpression, setAlternatives, setAttributeGroup, setAttributeMarshaller, setAttributeParser, setCapabilityReference, setCapabilityReference, setCapabilityReference, setCapabilityReference, setCapabilityReference, setCapabilityReference, setCorrector, setDefaultValue, setDeprecated, setDeprecated, setExpressionsDeprecated, setFlags, setMaxSize, setMeasurementUnit, setMinSize, setNullSignificant, setRequired, setRequires, setResourceOnly, setRestartAllServices, setRestartJVM, setRuntimeServiceNotRequired, setStability, setStorageRuntime, setUndefinedMetricValue
-
Constructor Details
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
setXmlName
Deprecated.use setParser(new AttributeParser.PropertiesParsers(wrapper)Description copied from class:AbstractAttributeDefinitionBuilderSets thexml namefor the attribute, which is only needed if the name used for the attribute is different from its ordinaryname in the model. If not set the default value is the name passed to the builder constructor.- Overrides:
setXmlNamein classAbstractAttributeDefinitionBuilder<PropertiesAttributeDefinition.Builder,PropertiesAttributeDefinition> - Parameters:
xmlName- the xml name.nullis allowed- Returns:
- a builder that can be used to continue building the attribute definition
-
build
Description copied from class:AbstractAttributeDefinitionBuilderCreate theAttributeDefinition- Specified by:
buildin classAbstractAttributeDefinitionBuilder<PropertiesAttributeDefinition.Builder,PropertiesAttributeDefinition> - Returns:
- the attribute definition. Will not return
null
-