Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,957 for transformTo (0.23 sec)

  1. platforms/core-configuration/base-services-groovy/src/main/java/org/gradle/groovy/scripts/Transformer.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package org.gradle.groovy.scripts;
    
    import org.codehaus.groovy.control.CompilationUnit;
    
    public interface Transformer {
    
        void register(CompilationUnit compilationUnit);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:00:26 UTC 2023
    - 791 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/dep-man/04-modeling-features/artifact_transforms.adoc

    == Artifact transform selection and execution
    
    As described above, when Gradle resolves a configuration and a dependency in the configuration does not have a variant with the requested attributes, Gradle tries to find a chain of artifact transforms to create the variant.
    The process of finding a matching chain of artifact transforms is called _artifact transform selection_.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/GroupedOutputFixture.java

         * Returns grouped output for the given transformer type and transform subject.
         */
        public GroupedTransformOutputFixture transform(String transformer, String subject) {
            List<GroupedTransformOutputFixture> foundTransforms = transforms.values().stream()
                .filter(transform -> transform.getTransformer().equals(transformer) && transform.getSubject().equals(subject))
                .collect(Collectors.toList());
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. platforms/enterprise/enterprise-operations/src/main/java/org/gradle/operations/dependencies/transforms/PlannedTransformStepIdentity.java

         * values for some of which have been changed by the transform.
         */
        Map<String, String> getTargetAttributes();
    
        /**
         * Capabilities of the variant of the transformed artifact.
         * <p>
         * Artifact transforms can only change attributes, so the capabilities remain unchanged throughout the transform chain.
         */
        List<? extends Capability> getCapabilities();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 10 08:07:59 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/base-services-groovy/src/test/groovy/org/gradle/api/internal/coerce/StringToEnumTransformerTest.groovy

        def transformer = new StringToEnumTransformer()
    
        static enum TestEnum {
            ABC, DEF
        }
    
        def "can transform enums correctly - #desc"() {
            def typesArray = types.collect { new CachedClass(it, null) } as CachedClass[]
            def argsArray = args as Object[]
    
            expect:
            transformer.transform(typesArray, argsArray).toList() == transformed
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:00:26 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/TransformersTest.groovy

            then:
            1 * action.execute("original")
    
            and:
            result == null
        }
    
        def "factory as transformer"() {
            def factory = Mock(Factory)
    
            when:
            def result = toTransformer(factory).transform("original")
    
            then:
            1 * factory.create() >> "transformed"
            result == "transformed"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/internal/classpath/InstrumentingClasspathFileTransformer.java

                configHashFor(classpathElementTransformFactory, transform, gradleCoreInstrumentationTypeRegistry),
                classpathFileHasher);
            this.classpathElementTransformFactory = classpathElementTransformFactory;
            this.transform = transform;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 27 13:36:38 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/TransformBackedProvider.java

        protected final Transformer<? extends OUT, ? super IN> transformer;
    
        public TransformBackedProvider(
            @Nullable Class<OUT> type,
            ProviderInternal<? extends IN> provider,
            Transformer<? extends OUT, ? super IN> transformer
        ) {
            this.type = type;
            this.transformer = transformer;
            this.provider = provider;
        }
    
        @Nullable
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 23:22:41 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/mutator/ClearArtifactTransformCacheWithoutInstrumentedJarsMutator.groovy

                        Files.exists(transformedDir.resolve("transformed/${INSTRUMENTATION_CLASSPATH_MARKER.fileName}")) ||
                        Files.exists(transformedDir.resolve("transformed/$ANALYSIS_OUTPUT_DIR/${INSTRUMENTATION_CLASSPATH_MARKER.fileName}")) ||
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 12:30:06 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/InternalTransformers.java

     */
    public abstract class InternalTransformers {
    
        /**
         * Creates a transformer that simply type casts the input to the given output type.
         *
         * @param outputType The type to cast the input to
         * @param <O> The type of the transformed object
         * @param <I> The type of the object to be transformed
         * @return A transformer that simply type casts the input to the given output type.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 5.4K bytes
    - Viewed (0)
Back to top