Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 742 for addAction (0.15 sec)

  1. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/api/XmlFileContentMerger.java

            xmlTransformer.addAction(closure);
        }
    
        /**
         * Adds an action to be called when the file has been created.
         * <p>
         * See {@link #withXml(Closure)}
         *
         * @param action The action to execute when the XML has been created.
         */
        public void withXml(Action<? super XmlProvider> action) {
            xmlTransformer.addAction(action);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/internal/resource/local/GroupedAndNamedUniqueFileStore.java

        }
    
        @Override
        public LocallyAvailableResource add(K key, Action<File> addAction) {
            //We cannot just delegate to the add method as we need the file content for checksum calculation here
            //and reexecuting the action isn't acceptable
            final File tempFile = getTempFile();
            addAction.execute(tempFile);
            final String groupedAndNamedKey = toPath(key, getChecksum(tempFile));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 02 16:14:10 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  3. platforms/software/resources/src/main/java/org/gradle/internal/resource/local/FileStore.java

         *
         * @throws FileStoreAddActionException When the action fails
         * @throws FileStoreException On other failures
         */
        LocallyAvailableResource add(K key, Action<File> addAction) throws FileStoreException;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/generator/PropertiesPersistableConfigurationObject.java

        }
    
        /**
         * @param action transform action
         * @since 3.5
         */
        public void transformAction(Action<? super Properties> action) {
            transformer.addAction(action);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. platforms/ide/ide-native/src/main/groovy/org/gradle/ide/visualstudio/tasks/GenerateFiltersFileTask.java

                filtersFile.addHeader(headerFile);
            }
    
            for (Action<? super XmlProvider> xmlAction : vsProject.getFiltersFile().getXmlActions()) {
                getXmlTransformer().addAction(xmlAction);
            }
        }
    
        @Override
        protected VisualStudioFiltersFile create() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. platforms/ide/ide-native/src/main/java/org/gradle/plugins/ide/internal/generator/PropertyListPersistableConfigurationObject.java

        public void transformAction(@DelegatesTo(NSObject.class) Closure<?> action) {
            transformAction(configureUsing(action));
        }
    
        public void transformAction(Action<? super T> action) {
            transformer.addAction(action);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/PropertiesTransformer.java

        /**
         * Adds an action to be executed when properties are transformed.
         * @param action the action to add
         */
        public void addAction(Action<? super Properties> action) {
            actions.add(action);
        }
    
        /**
         * Transforms a properties object.  This will modify the
         * original.
         * @param original the properties to transform
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 10:39:11 UTC 2019
    - 2.4K bytes
    - Viewed (0)
  8. platforms/ide/ide-native/src/main/java/org/gradle/api/internal/PropertyListTransformer.java

        private final MutableActionSet<T> actions = new MutableActionSet<T>();
    
        /**
         * Adds an action to be executed when property lists are transformed.
         * @param action the action to add
         */
        public void addAction(Action<? super T> action) {
            actions.add(action);
        }
    
        /**
         * Transforms a property list object. This will modify the
         * original.
         * @param original the property list to transform
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 17:10:32 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/internal/resource/local/DefaultPathKeyFileStore.java

        }
    
        @Override
        public LocallyAvailableResource add(final String path, final Action<File> addAction) {
            try {
                return doAdd(path, new Action<File>() {
                    @Override
                    public void execute(File file) {
                        try {
                            addAction.execute(file);
                        } catch (Throwable e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 31 20:39:17 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  10. platforms/software/ivy/src/test/groovy/org/gradle/api/publish/ivy/plugins/IvyPublishPluginTest.groovy

            publication.descriptor {
                withXml {
                    it.asNode().@foo = "bar"
                }
            }
    
            then:
            def transformer = new XmlTransformer()
            transformer.addAction(publication.descriptor.xmlAction)
            transformer.transform("<things/>").contains('things foo="bar"')
        }
    
        def "creates publish tasks for all publications in a repository"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top