FullPathMapper

public interface FullPathMapper<T>

A mapper that unlike PathMapper doesn’t resolve the approval file path based on a given sub path but only needs the value. Of course there are possible implementations that don’n even need the value like com.nikolavp.approval.pathmappers.JunitPathMapper.

Parameters:
  • <T> – the value that will be approved

See also: PathMapper

Methods

getApprovalPath

Path getApprovalPath(T value)

Get the full approval path based on the value.

Parameters:
  • value – the value that will be approved and for which the approval path will be built
Returns:

a Path for the given value