public void setValue ( Object value ) { if ( value instanceof Iterable < ? > ) { this . value = stream ( ( Iterable < ? > ) value ) . map ( this :: toValue ) . collect ( toList ( ) ) ; } else { this . value = toValue ( value ) ; } }
Sets a new value for this rule .