Package org.wildfly.extension.io
Class OptionAttributeDefinition
- java.lang.Object
-
- org.jboss.as.controller.AttributeDefinition
-
- org.jboss.as.controller.SimpleAttributeDefinition
-
- org.wildfly.extension.io.OptionAttributeDefinition
-
public class OptionAttributeDefinition extends SimpleAttributeDefinition
- Author:
- Tomaz Cerar (c) 2012 Red Hat Inc.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOptionAttributeDefinition.Builder-
Nested classes/interfaces inherited from class org.jboss.as.controller.AttributeDefinition
AttributeDefinition.NameAndGroup
-
-
Field Summary
-
Fields inherited from class org.jboss.as.controller.AttributeDefinition
COMPLEX_TYPES
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OptionAttributeDefinition.Builderbuilder(String attributeName, org.xnio.Option<?> option)org.xnio.Option<?>getOption()Class<?>getOptionType()org.xnio.OptionMap.BuilderresolveOption(ExpressionResolver context, org.jboss.dmr.ModelNode model, org.xnio.OptionMap.Builder builder)-
Methods inherited from class org.jboss.as.controller.SimpleAttributeDefinition
marshallAsAttribute, marshallAsAttribute, marshallAsElement, parseAndSetParameter
-
Methods inherited from class org.jboss.as.controller.AttributeDefinition
addAccessConstraints, addAllowedValuesToDescription, addCapabilityRequirements, addDeprecatedInfo, addOperationParameterDescription, addOperationParameterDescription, addOperationReplyDescription, addOperationReplyDescription, addResourceAttributeDescription, addResourceAttributeDescription, convertParameterExpressions, convertStringExpression, correctValue, getAccessConstraints, getAllowedValues, getAlternatives, getArbitraryDescriptors, getAttributeDeprecatedDescription, getAttributeGroup, getAttributeTextDescription, getCorrector, getDefaultValue, getDeprecationData, getFlags, getMarshaller, getMeasurementUnit, getName, getNoTextDescription, getParser, getReferenceRecorder, getRequires, getType, getUndefinedMetricValue, getValidator, getXmlName, hasAlternative, hasCapabilityRequirements, isAllowed, isAllowExpression, isDeprecated, isMarshallable, isMarshallable, isNillable, isNullSignificant, isRequired, isRequired, isResourceOnly, marshallAsElement, removeCapabilityRequirements, resolveModelAttribute, resolveModelAttribute, resolveValue, resolveValue, validateAndSet, validateOperation
-
-
-
-
Method Detail
-
getOption
public org.xnio.Option<?> getOption()
-
getOptionType
public Class<?> getOptionType()
-
resolveOption
public org.xnio.OptionMap.Builder resolveOption(ExpressionResolver context, org.jboss.dmr.ModelNode model, org.xnio.OptionMap.Builder builder) throws OperationFailedException
- Throws:
OperationFailedException
-
builder
public static OptionAttributeDefinition.Builder builder(String attributeName, org.xnio.Option<?> option)
-
-