Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.nikolavp.approval;
  * #%L
  * approval
  * %%
  * Copyright (C) 2014 Nikolavp
  * %%
  * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * #L%
import  javax.annotation.Nonnull;
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.

<T> the value that will be approved
See also:
public interface FullPathMapper<T> {
Get the full approval path based on the value.

value the value that will be approved and for which the approval path will be built
a Path for the given value
    Path getApprovalPath(T value);
New to GrepCode? Check out our FAQ X