Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for BinaryProvider (0.25 sec)

  1. platforms/native/language-native/src/main/java/org/gradle/language/BinaryProvider.java

    import org.gradle.api.provider.Provider;
    
    /**
     * Represents a binary that is created and configured as required.
     *
     * @since 4.5
     * @param <T> The type of binary.
     */
    public interface BinaryProvider<T> extends Provider<T> {
        /**
         * Registers an action to execute to configure the binary. The action is executed only when the element is required.
         */
        void configure(Action<? super T> action);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/main/java/org/gradle/language/BinaryCollection.java

         * @param <S> type of the binary to return
         * @return a binary from the collection in a finalized state
         */
        <S> BinaryProvider<S> get(Class<S> type, Spec<? super S> spec);
    
        /**
         * Returns a {@link BinaryProvider} that contains the single binary with the given name. The binary will be in the finalized state. The provider can be used to apply configuration to the element before it is finalized.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/main/java/org/gradle/language/internal/DefaultBinaryCollection.java

                provider.selectNow();
            }
            return provider;
        }
    
        @Override
        public BinaryProvider<T> getByName(final String name) {
            return get(elementType, element -> element.getName().equals(name));
        }
    
        @Override
        public BinaryProvider<T> get(Spec<? super T> spec) {
            return get(elementType, spec);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.9K bytes
    - Viewed (0)
Back to top