public static class RejectAttributeChecker.SimpleAcceptAttributeChecker extends RejectAttributeChecker.DefaultRejectAttributeChecker
RejectAttributeChecker.DefaultRejectAttributeChecker, RejectAttributeChecker.ListRejectAttributeChecker, RejectAttributeChecker.ObjectFieldsRejectAttributeChecker, RejectAttributeChecker.SimpleAcceptAttributeChecker, RejectAttributeChecker.SimpleRejectAttributeChecker
ALL, DEFINED, SIMPLE_EXPRESSIONS, UNDEFINED
Constructor and Description |
---|
SimpleAcceptAttributeChecker(org.jboss.dmr.ModelNode value) |
Modifier and Type | Method and Description |
---|---|
String |
getRejectionLogMessage(Map<String,org.jboss.dmr.ModelNode> attributes)
Gets the log message if the attribute failed rejection
|
protected boolean |
rejectAttribute(PathAddress address,
String attributeName,
org.jboss.dmr.ModelNode attributeValue,
TransformationContext context)
Gets called by the default implementations of
RejectAttributeChecker.DefaultRejectAttributeChecker.rejectOperationParameter(PathAddress, String, ModelNode, ModelNode, TransformationContext)
and RejectAttributeChecker.DefaultRejectAttributeChecker.rejectResourceAttribute(PathAddress, String, ModelNode, TransformationContext) . |
getRejectionLogMessageId, rejectOperationParameter, rejectResourceAttribute
public SimpleAcceptAttributeChecker(org.jboss.dmr.ModelNode value)
public String getRejectionLogMessage(Map<String,org.jboss.dmr.ModelNode> attributes)
RejectAttributeChecker
attributes
- a map of all attributes failed in this checker and their valuesprotected boolean rejectAttribute(PathAddress address, String attributeName, org.jboss.dmr.ModelNode attributeValue, TransformationContext context)
RejectAttributeChecker.DefaultRejectAttributeChecker
RejectAttributeChecker.DefaultRejectAttributeChecker.rejectOperationParameter(PathAddress, String, ModelNode, ModelNode, TransformationContext)
and RejectAttributeChecker.DefaultRejectAttributeChecker.rejectResourceAttribute(PathAddress, String, ModelNode, TransformationContext)
.rejectAttribute
in class RejectAttributeChecker.DefaultRejectAttributeChecker
address
- the address of the operationattributeName
- the name of the attributeattributeValue
- the value of the attributecontext
- the context of the transformationtrue
if the attribute or parameter value is not understandable by the target process and so needs to be rejected, false
otherwise.Copyright © 2023 JBoss by Red Hat. All rights reserved.