Class CapabilityReferenceListAttributeDefinition.Builder<T>

java.lang.Object
org.jboss.as.controller.AbstractAttributeDefinitionBuilder<BUILDER,ATTRIBUTE>
org.jboss.as.controller.ListAttributeDefinition.Builder<CapabilityReferenceListAttributeDefinition.Builder<T>,CapabilityReferenceListAttributeDefinition<T>>
org.wildfly.subsystem.resource.capability.CapabilityReferenceListAttributeDefinition.Builder<T>
Enclosing class:
CapabilityReferenceListAttributeDefinition<T>

public static class CapabilityReferenceListAttributeDefinition.Builder<T> extends org.jboss.as.controller.ListAttributeDefinition.Builder<CapabilityReferenceListAttributeDefinition.Builder<T>,CapabilityReferenceListAttributeDefinition<T>>
  • Constructor Summary

    Constructors
    Constructor
    Description
    Builder(String attributeName, CapabilityReference<T> reference)
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    setAllowExpression(boolean allowExpression)
    Capability references should never allow expressions.
    setDefaultValue(org.jboss.dmr.ModelNode defaultValue)
    Capability references should never define a default value.

    Methods inherited from class org.jboss.as.controller.ListAttributeDefinition.Builder

    getAllowNullElement, getElementValidator, getMaxSize, getMinSize, getValidator, setAllowDuplicates, setAllowNullElement, setElementValidator, setListValidator, setValidator

    Methods 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, setAlternatives, setAttributeGroup, setAttributeMarshaller, setAttributeParser, setCapabilityReference, setCapabilityReference, setCapabilityReference, setCapabilityReference, setCapabilityReference, setCapabilityReference, setCorrector, setDeprecated, setDeprecated, setExpressionsDeprecated, setFlags, setMaxSize, setMeasurementUnit, setMinSize, setNullSignificant, setRequired, setRequires, setResourceOnly, setRestartAllServices, setRestartJVM, setRuntimeServiceNotRequired, setStability, setStorageRuntime, setUndefinedMetricValue, setXmlName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait