Builder

public interface Builder implements Result.Builder<RT, AT, TT, ET, BT>(source)

A builder for results of fails.

Inheritors

Types

Link copied to clipboard
public interface Factory implements Result.Builder.Factory<RT, AT, TT, ET, BT>

Functions

Link copied to clipboard
public abstract BT actual(AT actual)
Sets the actual behavior of the result.
Link copied to clipboard
public abstract RT build()
Builds a result for the given properties and returns it.
Link copied to clipboard
public abstract BT exception(Throwable exception)
Sets the exception of the result.
Link copied to clipboard
public abstract BT test(TT test)
Sets the test of the result.