Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 190 for service (0.16 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/Service.java

    import org.apache.maven.api.annotations.ThreadSafe;
    
    /**
     * 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
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:54:53 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelVersionParser.java

     * but at Maven runtime it MAY actually use that service.
     *
     * @since 4.0.0
     */
    public interface ModelVersionParser {
    
        /**
         * Parses the specified version string, for example "1.0".
         *
         * @param version the version string to parse, must not be {@code null}
         * @return the parsed version, never {@code null}
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/LookupException.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api.services;
    
    import org.apache.maven.api.annotations.Experimental;
    
    /**
     * The Exception class throw by the {@link Lookup} service.
     *
     * @since 4.0.0
     */
    @Experimental
    public class LookupException extends MavenException {
    
        public LookupException(String message) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/RepositoryFactory.java

    import org.apache.maven.api.model.Repository;
    
    /**
     * Factory service to create {@link LocalRepository} or {@link RemoteRepository} objects.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface RepositoryFactory extends Service {
    
        @Nonnull
        LocalRepository createLocal(@Nonnull Path path);
    
        @Nonnull
        RemoteRepository createRemote(@Nonnull String id, @Nonnull String url);
    
        @Nonnull
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         *
         * @throws org.apache.maven.api.services.MavenException if not called from the within a mojo execution
         */
        @Nonnull
        Map<String, Object> getPluginContext(@Nonnull Project project);
    
        /**
         * Retrieves the service for the interface
         *
         * @throws NoSuchElementException if the service could not be found
         */
        @Nonnull
        <T extends Service> T getService(@Nonnull Class<T> clazz);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilder.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api.services;
    
    import java.util.List;
    
    import org.apache.maven.api.Service;
    import org.apache.maven.api.model.Model;
    
    public interface ModelBuilder extends Service {
    
        List<String> VALID_MODEL_VERSIONS = List.of("4.0.0", "4.1.0");
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionResolver.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api.services;
    
    import org.apache.maven.api.ArtifactCoordinate;
    import org.apache.maven.api.Service;
    import org.apache.maven.api.Session;
    import org.apache.maven.api.annotations.Consumer;
    import org.apache.maven.api.annotations.Experimental;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:54:53 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/SimpleLookup.java

     * under the License.
     */
    package org.apache.maven;
    
    import java.util.List;
    import java.util.Map;
    import java.util.Optional;
    
    import org.apache.maven.api.services.Lookup;
    import org.apache.maven.api.services.LookupException;
    
    public class SimpleLookup implements Lookup {
        private final List<Object> objects;
    
        public SimpleLookup(List<Object> objects) {
            this.objects = objects;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 2K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/PathScope.java

    /**
     * Path scope.
     * A path scope is used to determine the kind of build or class path that will be built when resolving
     * dependencies using the {@link org.apache.maven.api.services.DependencyResolver} service.
     * <p>
     * This extensible enum has four defined values, {@link #MAIN_COMPILE}, {@link #MAIN_RUNTIME},
     * {@link #TEST_COMPILE} and {@link #TEST_RUNTIME}, but can be extended by registering a
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

    import org.apache.maven.api.annotations.Nullable;
    import org.apache.maven.api.model.Profile;
    
    import static org.apache.maven.api.services.BaseRequest.nonNull;
    
    /**
     * Request used to build a {@link org.apache.maven.api.Project} using
     * the {@link ProjectBuilder} service.
     *
     * TODO: replace ModelRepositoryHolder with just the enum for the strategy
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 17.1K bytes
    - Viewed (0)
Back to top