Interface RepositoryKeyFunction
- All Superinterfaces:
BiFunction<RemoteRepository, String, String>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface RepositoryKeyFunction
extends BiFunction<RemoteRepository, String, String>
The repository key function, it produces keys (strings) for given
RemoteRepository instances.- Since:
- 2.0.14
-
Method Summary
Modifier and TypeMethodDescriptionapply(RemoteRepository repository, String context) Produces a string representing "repository key" for givenRemoteRepositoryand optionally (maybenull) "context".Methods inherited from interface BiFunction
andThen
-
Method Details
-
apply
Produces a string representing "repository key" for givenRemoteRepositoryand optionally (maybenull) "context".- Specified by:
applyin interfaceBiFunction<RemoteRepository, String, String>- Parameters:
repository- TheRemoteRepository, may not benull.context- The "context" string, ornull.- Returns:
- The "repository key" string, never
null.
-