JavaScript is disabled on your browser.
JBoss Application Server: Parent Aggregator 7.1.1.Final
All Implemented Interfaces:
ParameterCorrector
public class PropagatingCorrector
extends Object
implements ParameterCorrector
This implementation propagates properties present in the current
attribute value but missing from the new value.
Although, if the new value is of type UNDEFINED, the value
will remain UNDEFINED.
Author:
Alexey Loubyansky
Method Summary
Methods
Modifier and Type
Method and Description
org.jboss.dmr.ModelNode
correct (org.jboss.dmr.ModelNode newValue,
org.jboss.dmr.ModelNode currentValue)
Adjusts the value to be set on the attribute.
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Method Detail
correct
public org.jboss.dmr.ModelNode correct(org.jboss.dmr.ModelNode newValue,
org.jboss.dmr.ModelNode currentValue)
Adjusts the value to be set on the attribute.
Specified by:
correct
in interface ParameterCorrector
Parameters: newValue
- the new value to be setcurrentValue
- the current value of the attribute
Returns: the value that actually should be set
JBoss Application Server: Parent Aggregator 7.1.1.Final
Copyright © 2013 JBoss, a division of Red Hat, Inc. . All rights reserved.