Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for isConfigurable (0.14 sec)

  1. subprojects/core/src/main/java/org/gradle/api/internal/tasks/TaskMutator.java

        }
    
        public void mutate(String method, Runnable action) {
            if (!task.getState().isConfigurable()) {
                throw new IllegalStateException(format(method));
            }
            action.run();
        }
    
        public <T> T mutate(String method, Callable<T> action) {
            if (!task.getState().isConfigurable()) {
                throw new IllegalStateException(format(method));
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 12:20:43 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/properties/bean/DefaultPropertyWalker.java

                if (isConfigurable()) {
                    Object value = cachedInvoker.get();
                    ((HasConfigurableValueInternal) value).implicitFinalizeValue();
                }
            }
    
            private boolean isProvider() {
                return Provider.class.isAssignableFrom(declaredType);
            }
    
            private boolean isConfigurable() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/internal/service/scopes/ProjectBackedPropertyHost.java

            } else if (producer != null) {
                TaskInternal producerTask = (TaskInternal) producer.getTaskThatOwnsThisObject();
                if (producerTask != null && producerTask.getState().isConfigurable()) {
                    // Currently cannot tell the difference between access from the producing task and access from outside, so assume
                    // all access after the task has started execution is ok
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 09 21:55:13 UTC 2020
    - 1.8K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/internal/tasks/TaskStateInternal.java

        }
    
        public void setDidWork(boolean didWork) {
            this.didWork = didWork;
        }
    
        @Override
        public boolean getExecuted() {
            return outcome != null;
        }
    
        public boolean isConfigurable() {
            return !getExecuted() && !executing;
        }
    
        @Nullable
        public TaskExecutionOutcome getOutcome() {
            return outcome;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 29 19:57:41 UTC 2022
    - 4.4K bytes
    - Viewed (0)
Back to top