|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.properties.jboss.extension.resources.util.SimpleMapAttributeDefinition.Builder
public static final class SimpleMapAttributeDefinition.Builder
Builds instances of SimpleMapAttributeDefinition
.
Constructor Summary | |
---|---|
SimpleMapAttributeDefinition.Builder() Default constructor. |
Method Summary | |
---|---|
SimpleMapAttributeDefinition |
build() Creates the instance. |
SimpleMapAttributeDefinition.Builder |
withAllowExpression(boolean allowExpression) Sets the value for allowExpression. |
SimpleMapAttributeDefinition.Builder |
withAllowNull(boolean allowNull) Sets the flag to mark the attribute containing the tuples as optional ( true ) or mandatory (false ). |
SimpleMapAttributeDefinition.Builder |
withName(String name) Sets the name of the map attribute. |
SimpleMapAttributeDefinition.Builder |
withType(org.jboss.dmr.ModelType type) Sets the type of the value. |
SimpleMapAttributeDefinition.Builder |
withValidator(org.jboss.as.controller.operations.validation.ParameterValidator validator) Sets the validator for values. |
SimpleMapAttributeDefinition.Builder |
withWrapperXmlName(String wrapperXmlName) Sets the name of the XML element that encloses the items named by xmlName . |
SimpleMapAttributeDefinition.Builder |
withXmlAttributeName(String xmlAttributeName) Sets the name of the XML attribute that references the type name. |
SimpleMapAttributeDefinition.Builder |
withXmlName(String xmlName) Sets the name of the XML element where the attribute is the key and the contents is the value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleMapAttributeDefinition.Builder()
Method Detail |
---|
public SimpleMapAttributeDefinition.Builder withWrapperXmlName(String wrapperXmlName)
xmlName
.
wrapperXmlName
- the name of the XML element that encloses the items named by
xmlName
.
public SimpleMapAttributeDefinition.Builder withName(String name)
name
- the name of the attribute.
public SimpleMapAttributeDefinition.Builder withXmlName(String xmlName)
xmlName
- the name of the XML element where the attribute is the key and the contents is the value.
public SimpleMapAttributeDefinition.Builder withXmlAttributeName(String xmlAttributeName)
xmlAttributeName
- the name of the XML attribute that references the type name.
public SimpleMapAttributeDefinition.Builder withType(org.jboss.dmr.ModelType type)
type
- the type of the value.
public SimpleMapAttributeDefinition.Builder withAllowNull(boolean allowNull)
true
) or mandatory (
false
).
allowNull
- the flag to mark the attribute containing the tuples as optional (
true
) or mandatory (
false
).
public SimpleMapAttributeDefinition.Builder withAllowExpression(boolean allowExpression)
Flag to mark the value being allowed to contain expressions.
allowExpression
- the value for allowExpression.
public SimpleMapAttributeDefinition.Builder withValidator(org.jboss.as.controller.operations.validation.ParameterValidator validator)
validator
- the validator for values.
public SimpleMapAttributeDefinition build()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |