Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for setJdk (0.12 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/JdkVersionProfileActivator.java

    import org.apache.maven.api.services.model.ProfileActivator;
    
    /**
     * Determines profile activation based on the version of the current Java runtime.
     *
     * @see Activation#getJdk()
     */
    @Named("jdk-version")
    @Singleton
    public class JdkVersionProfileActivator implements ProfileActivator {
    
        private static final Pattern FILTER_1 = Pattern.compile("[^\\d._-]");
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jun 06 16:51:39 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivator.java

    import org.apache.maven.model.profile.ProfileActivationContext;
    
    /**
     * Determines profile activation based on the version of the current Java runtime.
     *
     * @see Activation#getJdk()
     */
    @Named("jdk-version")
    @Singleton
    public class JdkVersionProfileActivator implements ProfileActivator {
    
        private static final Pattern FILTER_1 = Pattern.compile("[^\\d._-]");
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jun 06 16:51:39 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/Lifecycle.java

        /**
         * Set the ID of this lifecycle, for identification in the mojo
         * descriptor.
         *
         * @param id a id object.
         */
        public void setId(String id) {
            this.id = id;
        } // -- void setId( String )
    
        /**
         * Set the phase mappings for this lifecycle.
         *
         * @param phases a phases object.
         */
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 10 19:51:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/Phase.java

        /**
         * Set the ID of this phase, e.g.,
         * <code>generate-sources</code>.
         *
         * @param id a id object.
         */
        public void setId(String id) {
            this.id = id;
        } // -- void setId( String )
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 10 19:51:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. maven-model-builder/src/test/java/org/apache/maven/model/profile/DefaultProfileSelectorTest.java

     */
    public class DefaultProfileSelectorTest {
        private Profile newProfile(String id) {
            Activation activation = new Activation();
            Profile profile = new Profile();
            profile.setId(id);
            profile.setActivation(activation);
            return profile;
        }
    
        @Test
        void testThrowingActivator() {
            DefaultProfileSelector selector = new DefaultProfileSelector();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jun 06 16:51:39 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. cmd/storage-interface.go

    	WriteAll(ctx context.Context, volume string, path string, b []byte) (err error)
    
    	// Read all.
    	ReadAll(ctx context.Context, volume string, path string) (buf []byte, err error)
    	GetDiskLoc() (poolIdx, setIdx, diskIdx int) // Retrieve location indexes.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. cmd/erasure-server-pool-decom.go

    					break
    				}
    				setN := humanize.Ordinal(setIdx + 1)
    				retryDur := time.Duration(rand.Float64() * float64(5*time.Second))
    				decomLogOnceIf(ctx, fmt.Errorf("listing objects from %s set failed with %v, retrying in %v", setN, err, retryDur), "decom-listing-failed"+setN)
    				time.Sleep(retryDur)
    			}
    		}(setIdx)
    	}
    	wk.Wait()
    	return nil
    }
    
    //msgp:ignore decomMetrics
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 06 14:30:43 UTC 2024
    - 41.5K bytes
    - Viewed (1)
  8. cmd/xl-storage.go

    			return s, err
    		}
    		diskID := format.Erasure.This
    		if m != ep.SetIdx || n != ep.DiskIdx {
    			storageLogOnceIf(context.Background(),
    				fmt.Errorf("unexpected drive ordering on pool: %s: found drive at (set=%s, drive=%s), expected at (set=%s, drive=%s): %s(%s): %w",
    					humanize.Ordinal(ep.PoolIdx+1), humanize.Ordinal(m+1), humanize.Ordinal(n+1), humanize.Ordinal(ep.SetIdx+1), humanize.Ordinal(ep.DiskIdx+1),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  9. cmd/naughty-disk_test.go

    	defer d.mu.Unlock()
    	d.callNR++
    	if err, ok := d.errors[d.callNR]; ok {
    		return err
    	}
    	if d.defaultErr != nil {
    		return d.defaultErr
    	}
    	return nil
    }
    
    func (d *naughtyDisk) GetDiskLoc() (poolIdx, setIdx, diskIdx int) {
    	return -1, -1, -1
    }
    
    func (d *naughtyDisk) GetDiskID() (string, error) {
    	return d.disk.GetDiskID()
    }
    
    func (d *naughtyDisk) SetDiskID(id string) {
    	d.disk.SetDiskID(id)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. cmd/storage-rest-client.go

    	diskID     atomic.Pointer[string]
    
    	diskInfoCache *cachevalue.Cache[DiskInfo]
    }
    
    // Retrieve location indexes.
    func (client *storageRESTClient) GetDiskLoc() (poolIdx, setIdx, diskIdx int) {
    	return client.endpoint.PoolIdx, client.endpoint.SetIdx, client.endpoint.DiskIdx
    }
    
    // Wrapper to restClient.Call to handle network errors, in case of network error the connection is disconnected
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 27.4K bytes
    - Viewed (0)
Back to top