public class ArtifactDownloaderRuntimeDataProvider extends Object implements RuntimeTaskDataProvider
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 |
setArtifactDefinitionManager(ArtifactDefinitionManager artifactDefinitionManager)
Deprecated.
since 6.8 use constructor injection or annotation injection
|
void |
setArtifactLinkManager(ArtifactLinkManager artifactLinkManager)
Deprecated.
since 6.8 use constructor injection or annotation injection
|
void |
setCachedPlanManager(CachedPlanManager cachedPlanManager)
Deprecated.
since 6.8 use constructor injection or annotation injection
|
void |
setCommonContextHelperService(CommonContextHelperService commonContextHelperService)
Deprecated.
since 6.8 use constructor injection or annotation injection
|
void |
setDeploymentVersionService(DeploymentVersionService deploymentVersionService)
Deprecated.
since 6.8 use constructor injection or annotation injection
|
void |
setResultsSummaryManager(ResultsSummaryManager resultsSummaryManager)
Deprecated.
since 6.8 use constructor injection or annotation injection
|
void |
setSecureTokenService(SecureTokenService secureTokenService)
Deprecated.
since 6.8 use constructor injection or annotation injection
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
processRuntimeTaskData
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 RuntimeTaskDefinition taskDefinition, @NotNull CommonContext commonContext)
RuntimeTaskDataProvider
RuntimeTaskDefinition.getRuntimeContext()
and/or RuntimeTaskDefinition.getRuntimeData()
processRuntimeTaskData
in interface RuntimeTaskDataProvider
@Deprecated public void setResultsSummaryManager(ResultsSummaryManager resultsSummaryManager)
@Deprecated public void setCachedPlanManager(CachedPlanManager cachedPlanManager)
@Deprecated public void setArtifactDefinitionManager(ArtifactDefinitionManager artifactDefinitionManager)
@Deprecated public void setSecureTokenService(SecureTokenService secureTokenService)
@Deprecated public void setDeploymentVersionService(DeploymentVersionService deploymentVersionService)
@Deprecated public void setArtifactLinkManager(ArtifactLinkManager artifactLinkManager)
@Deprecated public void setCommonContextHelperService(CommonContextHelperService commonContextHelperService)
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.