From 69540f6f785d6f1c9b32638012da976084e23fdb Mon Sep 17 00:00:00 2001 From: pjacewicz Date: Wed, 11 Mar 2020 16:59:05 +0100 Subject: [PATCH] Serialization-safe supplier added --- .../dnetlib/dhp/actionmanager/SerializableSupplier.java | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 dhp-workflows/dhp-actionmanager/src/main/java/eu/dnetlib/dhp/actionmanager/SerializableSupplier.java diff --git a/dhp-workflows/dhp-actionmanager/src/main/java/eu/dnetlib/dhp/actionmanager/SerializableSupplier.java b/dhp-workflows/dhp-actionmanager/src/main/java/eu/dnetlib/dhp/actionmanager/SerializableSupplier.java new file mode 100644 index 000000000..8df25bbe1 --- /dev/null +++ b/dhp-workflows/dhp-actionmanager/src/main/java/eu/dnetlib/dhp/actionmanager/SerializableSupplier.java @@ -0,0 +1,8 @@ +package eu.dnetlib.dhp.actionmanager; + +import java.io.Serializable; +import java.util.function.Supplier; + +@FunctionalInterface +public interface SerializableSupplier extends Supplier, Serializable { +}