clustering/common/src/main/java/org/jboss/as/clustering/dmr/ModelNodes.java
public static Optional<Property> optionalProperty(ModelNode value) {
        return value.isDefined() ? Optional.of(value.asProperty()) : Optional.empty();
    }
public static Optional<Property> optionalProperty(ModelNode value) {
        return value.isDefined() ? Optional.of(value.asProperty()) : Optional.empty();
    }
public static Optional < Property > optionalProperty ( ModelNode value ) { return value . isDefined ( ) ? Optional . of ( value . asProperty ( ) ) : Optional . empty ( ) ; }
Returns the optional property value of the specified {@link ModelNode}.
@param value the model node
@return an optional value
Returns the optional property value of the specified {