Package org.jboss.as.logging
Class PropertyAttributeDefinition.Builder
- java.lang.Object
-
- org.jboss.as.controller.AbstractAttributeDefinitionBuilder<PropertyAttributeDefinition.Builder,PropertyAttributeDefinition>
-
- org.jboss.as.logging.PropertyAttributeDefinition.Builder
-
- Enclosing class:
- PropertyAttributeDefinition
public static class PropertyAttributeDefinition.Builder extends AbstractAttributeDefinitionBuilder<PropertyAttributeDefinition.Builder,PropertyAttributeDefinition>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PropertyAttributeDefinitionbuild()static PropertyAttributeDefinition.Builderof(String name, org.jboss.dmr.ModelType type)Creates a builder forPropertyAttributeDefinition.static PropertyAttributeDefinition.Builderof(String name, org.jboss.dmr.ModelType type, boolean allowNull)Creates a builder forPropertyAttributeDefinition.PropertyAttributeDefinition.BuildersetPropertyName(String propertyName)PropertyAttributeDefinition.BuildersetResolver(ModelNodeResolver<String> resolver)-
Methods inherited from class org.jboss.as.controller.AbstractAttributeDefinitionBuilder
addAccessConstraint, addAlternatives, addArbitraryDescriptor, addFlag, getAccessConstraints, getAllowedValues, getAlternatives, getArbitraryDescriptors, getAttributeGroup, getAttributeMarshaller, getCapabilityReferenceRecorder, getCorrector, getDefaultValue, getDeprecated, getFlags, getMaxSize, getMeasurementUnit, getMinSize, getName, getNullSignificant, getParser, getRequires, getStability, getType, getUndefinedMetricValue, getValidator, 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, setValidator, setXmlName
-
-
-
-
Method Detail
-
of
public static PropertyAttributeDefinition.Builder of(String name, org.jboss.dmr.ModelType type)
Creates a builder forPropertyAttributeDefinition.- Parameters:
name- the name of the attributetype- the attribute type- Returns:
- a builder
-
of
public static PropertyAttributeDefinition.Builder of(String name, org.jboss.dmr.ModelType type, boolean allowNull)
Creates a builder forPropertyAttributeDefinition.- Parameters:
name- the name of the attributetype- the attribute typeallowNull-trueifnullis allowed, otherwisefalse- Returns:
- a builder
-
build
public PropertyAttributeDefinition build()
- Specified by:
buildin classAbstractAttributeDefinitionBuilder<PropertyAttributeDefinition.Builder,PropertyAttributeDefinition>
-
setPropertyName
public PropertyAttributeDefinition.Builder setPropertyName(String propertyName)
-
setResolver
public PropertyAttributeDefinition.Builder setResolver(ModelNodeResolver<String> resolver)
-
-