com.atlassian.bamboo.v2.build.agent
Interface BuildPhase

All Known Subinterfaces:
InterruptibleBuildPhase
All Known Implementing Classes:
ExecuteBuildTask, InitializeBuild, PrepareBuildTask

public interface BuildPhase

Represents an internal step in the build Process

Since:
v5.0

Method Summary
 CommonContext call(CommonContext buildContext, ReadOnlyCapabilitySet capabilitySet)
          Execute the build task.
 

Method Detail

call

@NotNull
CommonContext call(@NotNull
                           CommonContext buildContext,
                           @NotNull
                           ReadOnlyCapabilitySet capabilitySet)
                   throws java.lang.InterruptedException,
                          java.lang.Exception

Execute the build task.

Implementations should regularly check if the calling Thread has been interrupted.

Returns:
Throws:
java.lang.InterruptedException - if the calling Thread has been interrupted.
java.lang.Exception - A general exception that will be handled.


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.