Package org.eclipse.aether.repository
Interface RepositoryKeyFunction
-
- All Superinterfaces:
java.util.function.BiFunction<RemoteRepository,java.lang.String,java.lang.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 java.util.function.BiFunction<RemoteRepository,java.lang.String,java.lang.String>
The repository key function, it produces keys (strings) for givenRemoteRepositoryinstances.- Since:
- 2.0.14
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Stringapply(RemoteRepository repository, java.lang.String context)Produces a string representing "repository key" for givenRemoteRepositoryand optionally (maybenull) "context".
-
-
-
Method Detail
-
apply
java.lang.String apply(RemoteRepository repository, java.lang.String context)
Produces a string representing "repository key" for givenRemoteRepositoryand optionally (maybenull) "context".- Specified by:
applyin interfacejava.util.function.BiFunction<RemoteRepository,java.lang.String,java.lang.String>- Parameters:
repository- TheRemoteRepository, may not benull.context- The "context" string, ornull.- Returns:
- The "repository key" string, never
null.
-
-