public class UndefinedAttributesDiscardPolicy extends Object implements org.jboss.as.controller.transform.description.DynamicDiscardPolicy
DynamicDiscardPolicy
that silently discards (i.e. DiscardPolicy.SILENT
) if none of the attributes are defined;
rejects otherwise (i.e. DiscardPolicy.REJECT_AND_WARN
.Constructor and Description |
---|
UndefinedAttributesDiscardPolicy(Collection<Attribute> attributes) |
Modifier and Type | Method and Description |
---|---|
org.jboss.as.controller.transform.description.DiscardPolicy |
checkResource(org.jboss.as.controller.transform.TransformationContext context,
org.jboss.as.controller.PathAddress address) |
public UndefinedAttributesDiscardPolicy(Collection<Attribute> attributes)
public org.jboss.as.controller.transform.description.DiscardPolicy checkResource(org.jboss.as.controller.transform.TransformationContext context, org.jboss.as.controller.PathAddress address)
checkResource
in interface org.jboss.as.controller.transform.description.DynamicDiscardPolicy
Copyright © 2018 JBoss by Red Hat. All rights reserved.