.addRename(SEGMENTS, VIRTUAL_NODES.getName())
.addRejectCheck(RejectAttributeChecker.SIMPLE_EXPRESSIONS, L1_LIFESPAN, OWNERS, VIRTUAL_NODES, SEGMENTS)
.end();
} else if (InfinispanModel.VERSION_1_4_1.requiresTransformation(version)) {
DiscardAttributeChecker checker = new DiscardAttributeChecker.DefaultDiscardAttributeChecker(false, true) {
@Override
protected boolean isValueDiscardable(PathAddress address, String attributeName, ModelNode attributeValue, TransformationContext context) {
return (attributeValue.isDefined() && attributeValue.equals(new ModelNode(1)));
}
};