com.atlassian.bamboo.build.pipeline.tasks
Class PrepareBuildTask
java.lang.Object
com.atlassian.bamboo.v2.build.task.AbstractBuildTask
com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask
- All Implemented Interfaces:
- AgentBuildTask, BuildTask, java.util.concurrent.Callable<BuildContext>
public class PrepareBuildTask
- extends AbstractBuildTask
- implements AgentBuildTask
Task to clear logs, initialize the build and perform custom pre-build actions
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.bamboo.v2.build.task.BuildTask |
init |
PrepareBuildTask
public PrepareBuildTask()
init
public void init(BuildContext buildContext,
@NotNull
ReadOnlyCapabilitySet capabilitySet)
call
@NotNull
public BuildContext call()
- Description copied from interface:
BuildTask
Execute the build task.
Implementations should regularly check if the calling Thread
has been interrupted.
- Specified by:
call
in interface BuildTask
- Specified by:
call
in interface java.util.concurrent.Callable<BuildContext>
setPluginAccessor
public void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
setErrorUpdateHandler
public void setErrorUpdateHandler(ErrorUpdateHandler errorUpdateHandler)
setBuildLoggerManager
public void setBuildLoggerManager(BuildLoggerManager buildLoggerManager)
setArtifactManager
public void setArtifactManager(ArtifactManager artifactManager)
setTaskExecutor
public void setTaskExecutor(TaskExecutor taskExecutor)
Copyright © 2012 Atlassian. All Rights Reserved.