Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for isEnabled (0.07 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

                            rr.getUrl(),
                            rr.getId(),
                            rr.getPolicy(false).isEnabled(),
                            rr.getPolicy(false).getUpdatePolicy(),
                            rr.getPolicy(true).isEnabled(),
                            rr.getPolicy(true).getUpdatePolicy(),
                            rr.getPolicy(false).getChecksumPolicy());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. cmd/site-replication-utils.go

    func (sm *siteResyncMetrics) save(ctx context.Context) {
    	sTimer := time.NewTimer(siteResyncSaveInterval)
    	defer sTimer.Stop()
    	for {
    		select {
    		case <-sTimer.C:
    			if globalSiteReplicationSys.isEnabled() {
    				sm.Lock()
    				wg := sync.WaitGroup{}
    				for dID, rs := range sm.peerResyncMap {
    					st, ok := sm.resyncStatus[rs.resyncID]
    					if ok {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java

        private String checksumPolicy;
    
        public ArtifactRepositoryPolicy() {
            this(true, null, null);
        }
    
        public ArtifactRepositoryPolicy(ArtifactRepositoryPolicy policy) {
            this(policy.isEnabled(), policy.getUpdatePolicy(), policy.getChecksumPolicy());
        }
    
        public ArtifactRepositoryPolicy(boolean enabled, String updatePolicy, String checksumPolicy) {
            this.enabled = enabled;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepository.java

            if (snapshots != null) {
                sb.append("snapshots: [enabled => ").append(snapshots.isEnabled());
                sb.append(", update => ").append(snapshots.getUpdatePolicy()).append("]\n");
            }
    
            if (releases != null) {
                sb.append(" releases: [enabled => ").append(releases.isEnabled());
                sb.append(", update => ").append(releases.getUpdatePolicy()).append("]\n");
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. internal/bucket/lifecycle/transition.go

    	Date         TransitionDate `xml:"Date,omitempty"`
    	StorageClass string         `xml:"StorageClass,omitempty"`
    
    	set bool
    }
    
    // IsEnabled returns if transition is enabled.
    func (t Transition) IsEnabled() bool {
    	return t.set
    }
    
    // MarshalXML encodes transition field into an XML form.
    func (t Transition) MarshalXML(enc *xml.Encoder, start xml.StartElement) error {
    	if !t.set {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jan 10 17:07:49 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java

            void apply(Ansi ansi);
        }
    
        public static boolean isEnabled() {
            return org.apache.maven.jline.MessageUtils.isColorEnabled() && org.jline.jansi.Ansi.isEnabled();
        }
    
        public static void setEnabled(final boolean flag) {
            org.jline.jansi.Ansi.setEnabled(flag);
        }
    
        public static Ansi ansi() {
            if (isEnabled()) {
                return new Ansi();
            } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

        private static boolean policyEquals(RepositoryPolicy p1, RepositoryPolicy p2) {
            if (p1 == p2) {
                return true;
            }
            // update policy doesn't affect contents
            return p1.isEnabled() == p2.isEnabled() && Objects.equals(p1.getChecksumPolicy(), p2.getChecksumPolicy());
        }
    
        private static boolean repositoryEquals(RemoteRepository r1, RemoteRepository r2) {
            if (r1 == r2) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/AbstractArtifactResolutionException.java

                            sb.append(", releases=").append(releases.isEnabled());
                        }
    
                        ArtifactRepositoryPolicy snapshots = remoteRepository.getSnapshots();
                        if (snapshots != null) {
                            sb.append(", snapshots=").append(snapshots.isEnabled());
                        }
    
                        sb.append(')');
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/scheduler/AdminSchedulerAction.java

                        LaRequestUtil.getOptionalRequest().ifPresent(request -> {
                            request.setAttribute("running", entity.isRunning());
                            request.setAttribute("enabled", entity.isEnabled());
                        });
                    }).orElse(() -> {
                        throwValidationError(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id), this::asListHtml);
                    });
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

            File file = artifact.getFile();
    
            ArtifactRepositoryPolicy policy = artifact.isSnapshot() ? repository.getSnapshots() : repository.getReleases();
    
            if (!policy.isEnabled()) {
                if (getLogger().isDebugEnabled()) {
                    getLogger()
                            .debug("Skipping update check for " + artifact + " (" + file + ") from " + repository.getId()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top