Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Device (0.16 sec)

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

     * 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) {
            super(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)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         */
        @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);
    
        /**
         * Creates a derived session using the given local repository.
         *
    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)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

    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
     * TODO: replace validation level with an enum (though, we usually need just a boolean)
     *
     * @since 4.0.0
     */
    @Experimental
    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)
  4. maven-api-impl/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    static String addAndDeHump(String); } org/codehaus/plexus/util/SweeperPool$Sweeper.class package org.codehaus.plexus.util; synchronized class SweeperPool$Sweeper implements Runnable { private final transient SweeperPool pool; private transient boolean service; private final transient int sweepInterval; public void SweeperPool$Sweeper(SweeperPool, int); public void run(); public synchronized void start(); public synchronized void stop(); private final void debug(String); private void runSweep(); } org/...
    Archive
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 164.6K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/RepositoryFactory.java

    import org.apache.maven.api.LocalRepository;
    import org.apache.maven.api.RemoteRepository;
    import org.apache.maven.api.Service;
    import org.apache.maven.api.Session;
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.model.Repository;
    
    /**
     * Factory service to create {@link LocalRepository} or {@link RemoteRepository} objects.
     *
     * @since 4.0.0
     */
    @Experimental
    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)
  6. maven-compat/src/test/java/org/apache/maven/SimpleLookup.java

            return objects.stream()
                    .filter(type::isInstance)
                    .map(type::cast)
                    .findAny()
                    .orElseThrow(() -> new LookupException("No service of type " + type));
        }
    
        @Override
        public <T> T lookup(Class<T> type, String name) {
            return null;
        }
    
        @Override
        public <T> Optional<T> lookupOptional(Class<T> type) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 2K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelResolver.java

    import java.util.function.Consumer;
    
    import org.apache.maven.api.Service;
    import org.apache.maven.api.Session;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.model.Dependency;
    import org.apache.maven.api.model.Parent;
    
    /**
     * Resolves a POM from its coordinates.
     */
    public interface ModelResolver extends Service {
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/AbstractSession.java

        @SuppressWarnings("unchecked")
        public <T extends Service> T getService(Class<T> clazz) throws NoSuchElementException {
            T t = (T) services.computeIfAbsent(clazz, this::lookup);
            if (t == null) {
                throw new NoSuchElementException(clazz.getName());
            }
            return t;
        }
    
        private Service lookup(Class<? extends Service> c) {
            try {
                return lookup.lookup(c);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 27.2K bytes
    - Viewed (0)
Back to top