Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 150 for onlyIf (3.36 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleDslReferencePlugin.java

                task.setGroup("documentation");
                task.setDescription("Generates DSL reference HTML documentation.");
                task.onlyIf(t -> !extension.getQuickFeedback().get());
    
                task.source(dslStandaloneDocbook);
                task.getStylesheetDirectory().convention(dslReference.getStylesheetDirectory());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 5.7K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/PersistentCache.java

     *
     * <p>You can use {@link CacheBuilder#withInitializer(java.util.function.Consumer)} to provide an action to initialize the contents
     * of the cache, for building a read-only cache. An exclusive lock is held by this process while the initializer is running.</p>
     *
     * <p>You can also use {@link #useCache(java.util.function.Supplier)} to perform some action on the cache while holding an exclusive
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 19 07:59:23 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/metaobject/AbstractDynamicObject.java

                return new GroovyRuntimeException(String.format(
                        "Cannot get the value of write-only property '%s' for %s of type %s.", name, getDisplayName(), publicType.getName()));
            } else if (publicType != null) {
                return new GroovyRuntimeException(String.format(
                        "Cannot get the value of write-only property '%s' for object of type %s.", name, publicType.getName()));
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 17 11:25:34 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  4. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/ExclusiveCacheAccessCoordinator.java

     */
    public interface ExclusiveCacheAccessCoordinator {
        /**
         * Performs some work against the cache. Acquires exclusive locks on the appropriate resources, so that the given action is the only action to execute across all processes (including this one). Releases the locks and all resources at the end of the action.
         *
         * <p>This method is re-entrant, so that an action can call back into this method.</p>
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:50 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. build-logic/documentation/src/test/resources/org/gradle/test/JavaClass.java

    package org.gradle.test;
    
    /**
     * This is a java class.
     */
    public class JavaClass extends A implements CombinedInterface, JavaInterface {
        /**
         * A read-only property.
         */
        public String getReadOnly() {
            return "value";
        }
    
        /**
         * An ignored field.
         */
        String ignoreMe1;
    
        /**
         * Another ignored field.
         */
        final long ignoreMe2 = 9;
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  6. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/FileBackedObjectHolder.java

                if (!cacheFile.isFile()) {
                    cacheFile.createNewFile();
                }
                chmod.chmod(cacheFile.getParentFile(), 0700); // read-write-execute for user only
                chmod.chmod(cacheFile, 0600); // read-write for user only
                OutputStreamBackedEncoder encoder = new OutputStreamBackedEncoder(new BufferedOutputStream(new FileOutputStream(cacheFile)));
                try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:50 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/binding/ManagedProperty.java

     *
     * <p>The managed property represents a property that is able to serve all its declaring view methods. For example, if the view
     * types declaring the struct only specify the property via a getter, then the managed property will be read-only. However, if
     * even one of the view types declare a setter for the property, it will be a read-write property. </p>
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  8. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/ExecutionInputState.java

     */
    public interface ExecutionInputState {
        /**
         * The main implementation snapshots.
         */
        ImplementationSnapshot getImplementation();
    
        /**
         * Used only for tasks to return all the task actions.
         */
        ImmutableList<ImplementationSnapshot> getAdditionalImplementations();
    
        /**
         * The non-file inputs.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:29 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-groovy/src/main/java/org/gradle/model/dsl/internal/transform/ClosureCreationInterceptingVerifier.java

    import javax.annotation.concurrent.ThreadSafe;
    import org.codehaus.groovy.ast.ClassHelper;
    import org.codehaus.groovy.ast.ClassNode;
    import org.gradle.api.Action;
    
    /**
     * The verifier is the only thing in the Groovy compiler chain that gets to visit the classes generated from closure expressions. If we want to transform these classes, we have to do it with this
     * *hack*.
     */
    @ThreadSafe
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  10. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/GlobalCacheLocations.java

    import org.gradle.internal.service.scopes.Scope;
    import org.gradle.internal.service.scopes.ServiceScope;
    
    /**
     * Identifies if a path is underneath one of Gradle's global caches.
     *
     * We expect only Gradle itself to change things in the global caches directories.
     *
     * The quasi-immutability of global caches allows for some optimizations by retaining file system state in-memory.
     */
    @ServiceScope(Scope.UserHome.class)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 15 08:29:37 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top