/** * @return {@code Boolean.TRUE} on success, {@code Boolean.FALSE} on failure, or {@code null} on cancellation. */ public Boolean execute() { Product product = productRef.get(); if (product != null) { return exportProduct(product, (String) getValue(PROPERTY_FORMAT_NAME)); } else { // reference was garbage collected, that's fine, no need to save. return true; } }