Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for reapplyCurrentLater (0.26 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/code/UserCodeApplicationContext.java

         * Returns the given action when there is no current application.
         */
        <T> Action<T> reapplyCurrentLater(Action<T> action);
    
        /**
         * Returns details of the current application, if any.
         */
        @Nullable
        Application current();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 06:02:18 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/code/DefaultUserCodeApplicationContext.java

            currentApplication.set(null);
            try {
                runnable.run();
            } finally {
                currentApplication.set(current);
            }
        }
    
        @Override
        public <T> Action<T> reapplyCurrentLater(final Action<T> action) {
            final CurrentApplication current = currentApplication.get();
            if (current == null) {
                return action;
            }
            return current.reapplyLater(action);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top