public static class RejectAttributeChecker.SimpleRejectAttributeChecker extends RejectAttributeChecker.DefaultRejectAttributeChecker
RejectAttributeChecker.DefaultRejectAttributeChecker, RejectAttributeChecker.ListRejectAttributeChecker, RejectAttributeChecker.ObjectFieldsRejectAttributeChecker, RejectAttributeChecker.SimpleAcceptAttributeChecker, RejectAttributeChecker.SimpleRejectAttributeCheckerALL, DEFINED, SIMPLE_EXPRESSIONS, UNDEFINED| Constructor and Description |
|---|
SimpleRejectAttributeChecker(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, rejectResourceAttributepublic SimpleRejectAttributeChecker(org.jboss.dmr.ModelNode value)
public String getRejectionLogMessage(Map<String,org.jboss.dmr.ModelNode> attributes)
RejectAttributeCheckerattributes - 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.DefaultRejectAttributeCheckerRejectAttributeChecker.DefaultRejectAttributeChecker.rejectOperationParameter(PathAddress, String, ModelNode, ModelNode, TransformationContext)
and RejectAttributeChecker.DefaultRejectAttributeChecker.rejectResourceAttribute(PathAddress, String, ModelNode, TransformationContext).rejectAttribute in class RejectAttributeChecker.DefaultRejectAttributeCheckeraddress - 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 © 2022 JBoss by Red Hat. All rights reserved.