- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for setService (0.11 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/Service.java
/** * Marker interface for all services provided by the {@link Session}. * <p> * Services can be retrieved from the session using the * {@link Session#getService(Class)} method. * * @since 4.0.0 * @see Session#getService(Class) */ @Experimental @ThreadSafe
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Feb 28 23:54:53 UTC 2024 - 1.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Session.java
* <p> * Shortcut for {@code getService(TypeRegistry.class).require(...)}. * * @see org.apache.maven.api.services.TypeRegistry#require(String) */ @Nonnull Type requireType(@Nonnull String id); /** * Obtain the {@link Language} from the specified {@code id}. * <p> * Shortcut for {@code getService(LanguageRegistry.class).require(...)}. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 16:43:07 UTC 2024 - 36.4K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java
Profile profile = session.getService(SettingsBuilder.class) .convert(org.apache.maven.api.settings.Profile.newBuilder() .repositories(settings.getRepositories()) .pluginRepositories(settings.getPluginRepositories()) .build()); RepositoryFactory repositoryFactory = session.getService(RepositoryFactory.class);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 15.4K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.3K bytes - Viewed (0) -
compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.7K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java
return new SimpleSession(mavenSession, getRepositorySystem(), repositories); } @Override public <T extends Service> T getService(Class<T> clazz) throws NoSuchElementException { if (clazz == ArtifactCoordinatesFactory.class) { return (T) new DefaultArtifactCoordinatesFactory();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.2K bytes - Viewed (0)