com.github.thorbenkuck.keller.repository.NotPresentHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of keller-repo Show documentation
Show all versions of keller-repo Show documentation
Keller is a universal base-package
The newest version!
package com.github.thorbenkuck.keller.repository;
import com.github.thorbenkuck.keller.datatypes.interfaces.QueuedAction;
import java.util.Collection;
import java.util.function.Consumer;
import java.util.function.Supplier;
public interface NotPresentHandler {
WayPoint throwException(final RuntimeException e);
WayPoint throwError(final Error error);
WayPoint getNullObject(final Supplier t);
WayPoint run(final Runnable runnable);
WayPoint run(final QueuedAction queuedAction);
WayPoint handleAllOfSameType(final Consumer> consumer);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy