public class ArtifactDownloaderRuntimeDataProvider extends Object implements RuntimeTaskDataProvider
Modifier and Type | Field and Description |
---|---|
static String |
ARTIFACT_LOCATION |
static String |
RESULT_KEY |
static String |
SECURITY_TOKEN |
Constructor and Description |
---|
ArtifactDownloaderRuntimeDataProvider() |
Modifier and Type | Method and Description |
---|---|
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.
|
void |
processRuntimeTaskData(TaskDefinition taskDefinition,
CommonContext commonContext)
Server side post-build action that may be implemented by task.
|
void |
setArtifactDefinitionManager(ArtifactDefinitionManager artifactDefinitionManager) |
void |
setArtifactLinkManager(ArtifactLinkManager artifactLinkManager) |
void |
setCachedPlanManager(CachedPlanManager cachedPlanManager) |
void |
setCommonContextHelperService(CommonContextHelperService commonContextHelperService) |
void |
setDeploymentVersionService(DeploymentVersionService deploymentVersionService) |
void |
setResultsSummaryManager(ResultsSummaryManager resultsSummaryManager) |
void |
setSecureTokenService(SecureTokenService secureTokenService) |
public static final String RESULT_KEY
public static final String ARTIFACT_LOCATION
public static final String SECURITY_TOKEN
public ArtifactDownloaderRuntimeDataProvider()
@NotNull public Map<String,String> populateRuntimeTaskData(@NotNull TaskDefinition taskDefinition, @NotNull CommonContext commonContext)
RuntimeTaskDataProvider
TaskContext.getRuntimeTaskContext()
populateRuntimeTaskData
in interface RuntimeTaskDataProvider
@NotNull public Map<String,WhitelistedSerializable> createRuntimeTaskData(@NotNull RuntimeTaskDefinition taskDefinition, @NotNull CommonContext commonContext)
RuntimeTaskDataProvider
CommonTaskContext.getRuntimeTaskData()
It's guaranteed that this method is called after RuntimeTaskDataProvider.populateRuntimeTaskData(TaskDefinition, CommonContext)
,
and that calling RuntimeTaskDefinition.getRuntimeContext()
inside implementation will yield previously populated context.createRuntimeTaskData
in interface RuntimeTaskDataProvider
public void processRuntimeTaskData(@NotNull TaskDefinition taskDefinition, @NotNull CommonContext commonContext)
RuntimeTaskDataProvider
processRuntimeTaskData
in interface RuntimeTaskDataProvider
public void processRuntimeTaskData(@NotNull RuntimeTaskDefinition taskDefinition, @NotNull CommonContext commonContext)
RuntimeTaskDataProvider
RuntimeTaskDefinition.getRuntimeContext()
and/or RuntimeTaskDefinition.getRuntimeData()
processRuntimeTaskData
in interface RuntimeTaskDataProvider
public void setResultsSummaryManager(ResultsSummaryManager resultsSummaryManager)
public void setCachedPlanManager(CachedPlanManager cachedPlanManager)
public void setArtifactDefinitionManager(ArtifactDefinitionManager artifactDefinitionManager)
public void setSecureTokenService(SecureTokenService secureTokenService)
public void setDeploymentVersionService(DeploymentVersionService deploymentVersionService)
public void setArtifactLinkManager(ArtifactLinkManager artifactLinkManager)
public void setCommonContextHelperService(CommonContextHelperService commonContextHelperService)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.