TenantAwareFunction0

public abstract class TenantAwareFunction0<T> extends TenantAwareFunction<F, T>

A tenant-aware function that takes no parameters.

Parameters

<T>

the type of the result returned by the function

Constructors

Link copied to clipboard
protected void TenantAwareFunction0()
protected void TenantAwareFunction0(TenantId tenantId)

Functions

Link copied to clipboard
public abstract T apply()
public T apply(Empty input)
Link copied to clipboard
public T execute()

Inherited functions

Link copied to clipboard
public Function<T, V> andThen<V>(Function<? extends Object, ? extends V> after)
Link copied to clipboard
public Function<V, R> compose<V>(Function<? extends Object, ? extends T> before)
Link copied to clipboard
public T execute(F input)
Returns the result of applying the function to the passed input.
Link copied to clipboard
public static Function<T, T> identity<T>()
Link copied to clipboard
public static boolean isTenantSet()
Verifies whether a current tenant is set in the execution context.