- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 108 for getOutputAs (0.44 sec)
-
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/IdentityCacheStepTest.groovy
when: def cacheResult = execution.completeAndGet() then: cacheResult.get() == delegateOutput delegateResult.getOutputAs(_ as Class) >> Try.successful(delegateOutput) delegateResult.reusedOutputOriginMetadata >> Optional.of(originMetadata) 1 * delegate.execute(work, context) >> delegateResult
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 08 16:13:07 UTC 2024 - 4.5K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/WorkspaceResult.java
public WorkspaceResult(CachingResult parent, @Nullable File workspace) { super(parent); this.workspace = workspace; } @Override public <T> Try<T> getOutputAs(Class<T> type) { return getExecution() .map(execution -> execution.getOutput(workspace)) .map(type::cast); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 23 18:58:57 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/Stage1BlocksAccessorClassPath.kt
inputFingerprinter, workspaceProvider ) executionEngine.createRequest(work) .execute() .getOutputAs(AccessorsClassPath::class.java) .get() } ?: AccessorsClassPath.empty private val catalogExtensionBaseType = typeOf<ExternalModuleDependencyFactory>()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 23 18:58:57 UTC 2023 - 8K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/AssignMutableWorkspaceStepTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 23 18:58:57 UTC 2023 - 2.3K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/AssignImmutableWorkspaceStepTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 19 14:32:25 UTC 2024 - 13K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/IdentityCacheStep.java
} private <T> IdentityCacheResult<T> executeInCache(UnitOfWork work, C context) { R result = execute(work, context); return new DefaultIdentityCacheResult<>( result .getOutputAs(Object.class) .map(Cast::<T>uncheckedNonnullCast), result .getReusedOutputOriginMetadata() .orElseGet(() -> result.getAfterExecutionOutputState()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 08 16:30:23 UTC 2024 - 5.6K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/ExecutionEngine.java
/** * Get the output of the work. For immutable work this is resolved from the immutable workspace. */ // TODO Parametrize UnitOfWork with this type <T> Try<T> getOutputAs(Class<T> type); /** * A list of messages describing the first few reasons encountered that caused the work to be executed. * An empty list means the work was up-to-date and hasn't been executed.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 22 23:08:17 UTC 2024 - 6K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/provider/KotlinScriptEvaluator.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 10:23:24 UTC 2024 - 17.1K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/AccessorsClassPath.kt
workspaceProvider, asyncIO ) executionEngine.createRequest(work) .execute() .getOutputAs(AccessorsClassPath::class.java) .get() } private fun configuredProjectSchemaOf(scriptTarget: Any, classLoaderScope: ClassLoaderScope): TypedProjectSchema? {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 20:25:05 UTC 2024 - 22K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/GroovyScriptClassCompiler.java
transformFactoryForLegacy, scriptCompilationHandler ); return getExecutionEngine(target) .createRequest(unitOfWork) .execute() .getOutputAs(GroovyScriptCompilationOutput.class) .get(); } /** * We want to use build cache for script compilation, but build cache might not be available yet with early execution engine.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:23:24 UTC 2024 - 23.5K bytes - Viewed (0)