Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 147 for addAction (0.2 sec)

  1. platforms/ide/ide-plugins/src/test/groovy/org/gradle/plugins/ide/idea/model/IdeaModelTest.groovy

            then:
            1 * model.workspace.iws.getXmlTransformer()
    
            when: "configure workspace xml"
            model.workspace.iws.withXml(xmlAction)
    
            then:
            1 * xmlTransformer.addAction(xmlAction)
        }
    
        def "can configure project with Actions"() {
            given:
            def xmlTransformer = Mock(XmlTransformer)
            def xmlMerger = Spy(XmlFileContentMerger, constructorArgs: [xmlTransformer])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  2. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/EclipseModelTest.groovy

            then:
            1 * xmlMerger.getXmlTransformer()
    
            when: "configure project XML"
            model.project.file.withXml(xmlAction)
    
            then:
            1 * xmlTransformer.addAction(xmlAction)
        }
    
        def "can configure classpath with Actions"() {
            given:
            def xmlTransformer = Mock(XmlTransformer)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/internal/resource/cached/TwoStageExternalResourceFileStore.java

            return writableStore.move(key, source);
        }
    
        @Override
        public LocallyAvailableResource add(String key, Action<File> addAction) throws FileStoreException {
            return writableStore.add(key, addAction);
        }
    
        @Override
        public Set<? extends LocallyAvailableResource> search(String key) {
            ImmutableSet.Builder<LocallyAvailableResource> builder = ImmutableSet.builder();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/filestore/TwoStageArtifactIdentifierFileStore.java

            return writableStore.move(key, source);
        }
    
        @Override
        public LocallyAvailableResource add(ModuleComponentArtifactIdentifier key, Action<File> addAction) throws FileStoreException {
            return writableStore.add(key, addAction);
        }
    
        @Override
        public Set<? extends LocallyAvailableResource> search(ModuleComponentArtifactIdentifier key) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top