All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.thorbenkuck.keller.repository.NotPresentHandler Maven / Gradle / Ivy

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