Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 176 for Decorate (0.18 sec)

  1. subprojects/core/src/test/groovy/org/gradle/configuration/internal/DefaultListenerBuildOperationDecoratorTest.groovy

                }
            }
            def broadcast = listenerManager.getBroadcaster(BuildListener)
            def decorated
    
            when:
            context.apply(Stub(UserCodeSource)) {
                decorated = decorator.decorate('foo', BuildListener, undecorated)
            }
            listenerManager.addListener(decorated)
            broadcast.projectsLoaded(gradle)
    
            then:
            called
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 14:54:57 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/configuration/internal/ListenerBuildOperationDecorator.java

         * @param action the action to decorate
         */
        <T> Action<T> decorate(String registrationPoint, Action<T> action);
    
        /**
         * Decorates a closure listener.
         * <p>
         * Does not decorate any action that implements {@link InternalListener}.
         * Does not decorate if there is not currently a script or plugin being applied on the thread.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 06:02:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishValidationIntegTest.groovy

            def organisation = identifier.safeForFileName().decorate("org")
            def moduleName = identifier.safeForGradleDomainObjectName().decorate("module")
            def version = identifier.safeForFileName().decorate("revision")
            def extraValue = identifier.decorate("extra")
            def resolver = identifier.decorate("description")
            def branch = identifier.safeForBranch().decorate("branch")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/decorator.go

    limitations under the License.
    */
    
    package admission
    
    type Decorator interface {
    	Decorate(handler Interface, name string) Interface
    }
    
    type DecoratorFunc func(handler Interface, name string) Interface
    
    func (d DecoratorFunc) Decorate(handler Interface, name string) Interface {
    	return d(handler, name)
    }
    
    type Decorators []Decorator
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 13:54:31 UTC 2018
    - 1.1K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/configuration/internal/DefaultListenerBuildOperationDecorator.java

        }
    
        @Override
        public <T> Action<T> decorate(String registrationPoint, Action<T> action) {
            UserCodeApplicationContext.Application application = userCodeApplicationContext.current();
            if (application == null || action instanceof InternalListener) {
                return action;
            }
            Action<T> decorated = application.reapplyLater(action);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/InstantiatorFactory.java

         *
         * <p>Use for any model types for which services or user provided constructor values need to injected. This is simply a convenient for {@link #decorateScheme()}.
         *
         * @param services The services to make available to instances.
         */
        InstanceGenerator decorate(ServiceLookup services);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/InMemoryCacheDecoratorFactoryTest.groovy

        def "caches result from backing cache and reuses for other instances with the same cache id"() {
            given:
            def cache = cacheFactory.decorator(100, true).decorate("path/fileSnapshots.bin", "fileSnapshots", target, crossProcessCacheAccess, asyncCacheAccess)
    
            when:
            def result = cache.getIfPresent("key")
    
            then:
            result == "result"
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:50 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. subprojects/core/src/testFixtures/groovy/org/gradle/configuration/internal/TestListenerBuildOperationDecorator.groovy

        @Override
        <T> Action<T> decorate(String registrationPoint, Action<T> action) {
            action
        }
    
        @Override
        <T> Closure<T> decorate(String registrationPoint, Closure<T> closure) {
            return closure
        }
    
        @Override
        <T> T decorate(String registrationPoint, Class<T> cls, T listener) {
            listener
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 07 07:04:44 UTC 2018
    - 1.2K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_download_git_decorate_full.txt

    env HOME=$WORK${/}home${/}gopher
    exec git config --global --show-origin user.name
    stdout 'Go Gopher'
    
    env GOPROXY=direct
    
    exec git config --get log.decorate
    stdout 'full'
    
    # Test that Git log with user's global config '~/gitconfig' has log.decorate=full
    # go mod download has an error 'v1.x.y is not a tag'
    # with go1.16.14: 
    # `go1.16.14 list -m vcs-test.golang.org/git/gitrepo1.git@v1.2.3`
    # will output with error:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 16:37:00 UTC 2023
    - 1011 bytes
    - Viewed (0)
  10. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishIdentifierValidationIntegTest.groovy

            given:
            file("content-file") << "some content"
            def version = identifier.safeForFileName().decorate("version")
            def extension = identifier.safeForFileName().decorate("extension")
            def classifier = identifier.safeForFileName().decorate("classifier")
    
            and:
            settingsFile << "rootProject.name = '${artifactId}'"
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 5.7K bytes
    - Viewed (0)
Back to top