com.atlassian.bamboo.task
Interface RuntimeTaskDataProvider
public interface RuntimeTaskDataProvider
populateRuntimeTaskData
@NotNull
java.util.Map<java.lang.String,java.lang.String> populateRuntimeTaskData(@NotNull
TaskDefinition taskDefinition,
@NotNull
CommonContext commonContext)
- Server side pre-build action that may be implemented by task. Custom data for task execution evaluated on server
should be returned for this method and will be accessible for task execution on agent Data are accessible in
commonContext.getRuntimeTaskContext().getRuntimeContextForTask(@NotNull TaskDefinition taskDefinition)
- Parameters:
commonContext -
- Returns:
- custom data for agent side task execution
processRuntimeTaskData
void processRuntimeTaskData(@NotNull
TaskDefinition taskDefinition,
@NotNull
CommonContext commonContext)
- Server side post-build action that may be implemented by task. May be used to process custom data returned by
task, or to clean up data that may be left by previous call Data are accessible in
commonContext.getRuntimeTaskContext().getRuntimeContextForTask(@NotNull TaskDefinition taskDefinition)
- Parameters:
taskDefinition - commonContext -
Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.