Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 25 for isOffline (0.06 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/DefaultMetadataResolutionRequest.java

            this.resolveManagedVersions = resolveManagedVersions;
    
            return this;
        }
    
        @Override
        public boolean isOffline() {
            return repositoryRequest.isOffline();
        }
    
        @Override
        public DefaultMetadataResolutionRequest setOffline(boolean offline) {
            repositoryRequest.setOffline(offline);
    
            return this;
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/DefaultRepositoryRequest.java

                request.setRemoteRepositories(project.getPluginArtifactRepositories());
            }
            request.setOffline(session.isOffline());
            request.setForceUpdate(session.getRequest().isUpdateSnapshots());
    
            return request;
        }
    
        @Override
        public boolean isOffline() {
            return offline;
        }
    
        @Override
        public DefaultRepositoryRequest setOffline(boolean offline) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/RepositoryRequest.java

        /**
         * Indicates whether network access to remote repositories has been disabled.
         *
         * @return {@code true} if remote access has been disabled, {@code false} otherwise.
         */
        boolean isOffline();
    
        /**
         * Enables/disables network access to remote repositories.
         *
         * @param offline {@code true} to disable remote access, {@code false} to allow network access.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/BwcSetupExtension.java

                } else {
                    loggedExec.executable(new File(checkoutDir.get(), "gradlew").toString());
                }
                if (project.getGradle().getStartParameter().isOffline()) {
                    loggedExec.args("--offline");
                }
                // TODO resolve
                String buildCacheUrl = System.getProperty("org.elasticsearch.build.cache.url");
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Aug 18 09:11:28 GMT 2021
    - 6.8K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/MetadataResolutionRequest.java

        /**
         * Indicates whether network access to remote repositories has been disabled.
         *
         * @return {@code true} if remote access has been disabled, {@code false} otherwise.
         */
        @Override
        boolean isOffline();
    
        /**
         * Enables/disables network access to remote repositories.
         *
         * @param offline {@code true} to disable remote access, {@code false} to allow network access.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  6. 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;
        }
    
        public ArtifactResolutionRequest setArtifact(Artifact artifact) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/DependenciesGraphTask.java

            this.runtimeConfiguration = runtimeConfiguration;
        }
    
        @TaskAction
        void generateDependenciesGraph() {
    
            if (getProject().getGradle().getStartParameter().isOffline()) {
                throw new GradleException("Must run in online mode in order to submit the dependency graph to the SCA service");
            }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.3K bytes
    - Click Count (0)
  8. cmd/bucket-targets.go

    	lastOnline      time.Time
    	lastHCAt        time.Time
    	offlineDuration time.Duration
    	latency         latencyStat
    }
    
    // isOffline returns current liveness result of remote target. Add endpoint to
    // healthCheck map if missing and default to online status
    func (sys *BucketTargetSys) isOffline(ep *url.URL) bool {
    	sys.hMutex.RLock()
    	defer sys.hMutex.RUnlock()
    	if h, ok := sys.hc[ep.Host]; ok {
    		return !h.Online
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalBwcGitPlugin.java

                        throw new GradleException("tests.bwc.git_fetch_latest must be [true] or [false] but was [" + fetchProp + "]");
                    });
                fetchLatest.onlyIf(t -> project.getGradle().getStartParameter().isOffline() == false && gitFetchLatest.get());
                fetchLatest.dependsOn(addRemoteTaskProvider);
                fetchLatest.setWorkingDir(gitExtension.getCheckoutDir().get());
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 9.9K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

        }
    
        public List<String> getPluginGroups() {
            return request.getPluginGroups();
        }
    
        public boolean isOffline() {
            return request.isOffline();
        }
    
        public MavenProject getTopLevelProject() {
            return topLevelProject;
        }
    
        public MavenExecutionResult getResult() {
            return result;
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 16.7K bytes
    - Click Count (0)
Back to Top