Class UndefinedAttributesDiscardPolicy
java.lang.Object
org.jboss.as.clustering.controller.transform.UndefinedAttributesDiscardPolicy
- All Implemented Interfaces:
org.jboss.as.controller.transform.description.DynamicDiscardPolicy
public class UndefinedAttributesDiscardPolicy
extends Object
implements org.jboss.as.controller.transform.description.DynamicDiscardPolicy
Convenience implementation of
DynamicDiscardPolicy that silently discards (i.e. DiscardPolicy.SILENT) if none of the attributes are defined;
rejects otherwise (i.e. DiscardPolicy.REJECT_AND_WARN.- Version:
- August 2015
- Author:
- Radoslav Husar
-
Constructor Summary
ConstructorsConstructorDescriptionUndefinedAttributesDiscardPolicy(Iterable<Attribute> attributes) UndefinedAttributesDiscardPolicy(Attribute... attributes) -
Method Summary
Modifier and TypeMethodDescriptionorg.jboss.as.controller.transform.description.DiscardPolicycheckResource(org.jboss.as.controller.transform.TransformationContext context, org.jboss.as.controller.PathAddress address)
-
Constructor Details
-
UndefinedAttributesDiscardPolicy
-
UndefinedAttributesDiscardPolicy
-
-
Method Details
-
checkResource
public org.jboss.as.controller.transform.description.DiscardPolicy checkResource(org.jboss.as.controller.transform.TransformationContext context, org.jboss.as.controller.PathAddress address) - Specified by:
checkResourcein interfaceorg.jboss.as.controller.transform.description.DynamicDiscardPolicy
-