Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for setOffline (0.07 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/DefaultRepositoryRequest.java

            }
            request.setOffline(session.isOffline());
            request.setForceUpdate(session.getRequest().isUpdateSnapshots());
    
            return request;
        }
    
        public boolean isOffline() {
            return offline;
        }
    
        public DefaultRepositoryRequest setOffline(boolean offline) {
            this.offline = offline;
    
            return this;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/DefaultMetadataResolutionRequest.java

            return this;
        }
    
        public boolean isOffline() {
            return repositoryRequest.isOffline();
        }
    
        public DefaultMetadataResolutionRequest setOffline(boolean offline) {
            repositoryRequest.setOffline(offline);
    
            return this;
        }
    
        public boolean isForceUpdate() {
            return repositoryRequest.isForceUpdate();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/RepositoryRequest.java

         *
         * @param offline {@code true} to disable remote access, {@code false} to allow network access.
         * @return This request, never {@code null}.
         */
        RepositoryRequest setOffline(boolean offline);
    
        /**
         * Indicates whether remote repositories should be re-checked for updated artifacts/metadata regardless of their
         * configured update policy.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java

        }
    
        public ArtifactResolutionRequest(RepositoryRequest request) {
            setLocalRepository(request.getLocalRepository());
            setRemoteRepositories(request.getRemoteRepositories());
            setOffline(request.isOffline());
            setForceUpdate(request.isForceUpdate());
        }
    
        public Artifact getArtifact() {
            return artifact;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/MetadataResolutionRequest.java

         *
         * @param offline {@code true} to disable remote access, {@code false} to allow network access.
         * @return This request, never {@code null}.
         */
        MetadataResolutionRequest setOffline(boolean offline);
    
        /**
         * Gets the artifact to resolve metadata for.
         *
         * @return The artifact to resolve metadata for or {@code null} if not set.
         */
        Artifact getArtifact();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

            DefaultMavenExecutionRequest copy = new DefaultMavenExecutionRequest();
            copy.setLocalRepository(original.getLocalRepository());
            copy.setLocalRepositoryPath(original.getLocalRepositoryPath());
            copy.setOffline(original.isOffline());
            copy.setInteractiveMode(original.isInteractiveMode());
            copy.setCacheNotFound(original.isCacheNotFound());
            copy.setCacheTransferError(original.isCacheTransferError());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java

                throws MavenExecutionRequestPopulationException {
            if (settings == null) {
                return request;
            }
    
            request.setOffline(settings.isOffline());
    
            request.setInteractiveMode(settings.isInteractiveMode());
    
            request.setPluginGroups(settings.getPluginGroups());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java

                    .setCollectionFilter(collectionScopeFilter)
                    .setResolutionFilter(resolutionScopeFilter)
                    .setLocalRepository(session.getLocalRepository())
                    .setOffline(session.isOffline())
                    .setForceUpdate(session.getRequest().isUpdateSnapshots());
            request.setServers(session.getRequest().getServers());
            request.setMirrors(session.getRequest().getMirrors());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java

                throws MavenExecutionRequestPopulationException {
            if (settings == null) {
                return request;
            }
    
            request.setOffline(settings.isOffline());
    
            request.setInteractiveMode(settings.isInteractiveMode());
    
            request.setPluginGroups(settings.getPluginGroups());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

            configProps.put(ConfigurationProperties.INTERACTIVE, request.isInteractiveMode());
            configProps.put("maven.startTime", request.getStartTime());
    
            sessionBuilder.setOffline(request.isOffline());
            sessionBuilder.setChecksumPolicy(request.getGlobalChecksumPolicy());
            sessionBuilder.setUpdatePolicy(
                    request.isNoSnapshotUpdates()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
Back to top