@PublicApi
@ExperimentalApi
public interface RuntimeTaskDataProvider
| Modifier and Type | Method and Description |
|---|---|
default Map<String,WhitelistedSerializable> |
createRuntimeTaskData(RuntimeTaskDefinition taskDefinition,
CommonContext commonContext)
Server side pre-build action that may be implemented by task.
|
Map<String,String> |
populateRuntimeTaskData(TaskDefinition taskDefinition,
CommonContext commonContext)
Server side pre-build action that may be implemented by task.
|
void |
processRuntimeTaskData(RuntimeTaskDefinition taskDefinition,
CommonContext commonContext)
Server side post-build action that may be implemented by task.
|
default void |
processRuntimeTaskData(TaskDefinition taskDefinition,
CommonContext commonContext)
Deprecated.
|
@NotNull Map<String,String> populateRuntimeTaskData(@NotNull TaskDefinition taskDefinition, @NotNull CommonContext commonContext)
TaskContext.getRuntimeTaskContext()commonContext - @NotNull default Map<String,WhitelistedSerializable> createRuntimeTaskData(@NotNull RuntimeTaskDefinition taskDefinition, @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 TaskDefinition taskDefinition, @NotNull CommonContext commonContext)
processRuntimeTaskData(RuntimeTaskDefinition, CommonContext)taskDefinition - commonContext - void processRuntimeTaskData(@NotNull
RuntimeTaskDefinition taskDefinition,
@NotNull
CommonContext commonContext)
RuntimeTaskDefinition.getRuntimeContext() and/or RuntimeTaskDefinition.getRuntimeData()taskDefinition - commonContext - Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.