@PublicApi
@ExperimentalApi
public interface RuntimeTaskDataProvider
| Modifier and Type | Method and Description |
|---|---|
default @NotNull Map<String,WhitelistedSerializable> |
createRuntimeTaskData(@NotNull RuntimeTaskDefinition taskDefinition,
@NotNull CommonContext commonContext)
Server side pre-build action that may be implemented by task.
|
@NotNull Map<String,String> |
populateRuntimeTaskData(@NotNull TaskDefinition taskDefinition,
@NotNull CommonContext commonContext)
Server side pre-build action that may be implemented by task.
|
void |
processRuntimeTaskData(@NotNull RuntimeTaskDefinition taskDefinition,
@NotNull CommonContext commonContext)
Server side post-build action that may be implemented by task.
|
default void |
processRuntimeTaskData(@NotNull TaskDefinition taskDefinition,
@NotNull CommonContext commonContext)
Deprecated.
|
@NotNull @NotNull Map<String,String> populateRuntimeTaskData(@NotNull @NotNull TaskDefinition taskDefinition, @NotNull @NotNull CommonContext commonContext)
TaskContext.getRuntimeTaskContext()commonContext - @NotNull default @NotNull Map<String,WhitelistedSerializable> createRuntimeTaskData(@NotNull @NotNull RuntimeTaskDefinition taskDefinition, @NotNull @NotNull CommonContext commonContext)
CommonTaskContext.getRuntimeTaskData()
It's guaranteed that this method is called after populateRuntimeTaskData(TaskDefinition, CommonContext),
and that calling RuntimeTaskDefinition.getRuntimeContext() inside implementation will yield previously populated context.commonContext - @Deprecated default void processRuntimeTaskData(@NotNull @NotNull TaskDefinition taskDefinition, @NotNull @NotNull CommonContext commonContext)
processRuntimeTaskData(RuntimeTaskDefinition, CommonContext)taskDefinition - commonContext - void processRuntimeTaskData(@NotNull
@NotNull RuntimeTaskDefinition taskDefinition,
@NotNull
@NotNull CommonContext commonContext)
RuntimeTaskDefinition.getRuntimeContext() and/or RuntimeTaskDefinition.getRuntimeData()taskDefinition - commonContext - Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.