- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for isConfigurable (0.17 sec)
-
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) -
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) -
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) -
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) -
src/cmd/vendor/github.com/google/pprof/internal/driver/config.go
} *ptr = v default: panic(fmt.Sprintf("unsupported config field type %v", f.field.Type)) } return nil } // isConfigurable returns true if name is either the name of a config field, or // a valid value for a multi-choice config field. func isConfigurable(name string) bool { _, ok := configFieldMap[name] return ok } // isBoolConfig returns true if name is either name of a boolean config field,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 15:19:53 UTC 2024 - 10.5K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/interactive.go
if len(s) == 2 { value = s[1] if comment := strings.LastIndex(value, commentStart); comment != -1 { value = value[:comment] } value = strings.TrimSpace(value) } if isConfigurable(name) { // All non-bool options require inputs if len(s) == 1 && !isBoolConfig(name) { o.UI.PrintErr(fmt.Errorf("please specify a value, e.g. %s=<val>", name)) continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 22 18:58:12 UTC 2022 - 10.6K bytes - Viewed (0)