Delegate

public interface Delegate<INTERACTION extends Object, ASSERTION extends Object, ACTION extends Object>

Base delegate interface.

Provides functionality of aggregating interceptors and invoking them on check and perform invocations.

See also

Inheritors

Functions

Link copied to clipboard
public abstract INTERACTION getInteraction()
Link copied to clipboard
Link copied to clipboard
public Boolean interceptCheck(ASSERTION assertion)

Runs the interceptors available for the given delegate during the check operation.

Link copied to clipboard

Runs the interceptors available for the given delegate during the perform operation.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public abstract Unit setInteraction(INTERACTION interaction)
Link copied to clipboard
public abstract Unit setInterceptor(Interceptor<INTERACTION, ASSERTION, ACTION> interceptor)