Interface BuildPhase
- All Known Subinterfaces:
InterruptibleBuildPhase
- All Known Implementing Classes:
ExecuteBuildTask
,InitializeBuild
,PrepareBuildTask
@Internal
public interface BuildPhase
Represents an internal step in the build Process
- Since:
- v5.0
-
Method Summary
Modifier and TypeMethodDescription@NotNull CommonContext
call
(@NotNull CommonContext buildContext, @NotNull ReadOnlyCapabilitySet capabilitySet) Execute the build task.
-
Method Details
-
call
@NotNull @NotNull CommonContext call(@NotNull @NotNull CommonContext buildContext, @NotNull @NotNull ReadOnlyCapabilitySet capabilitySet) throws InterruptedException, Exception Execute the build task.
Implementations should regularly check if the calling
Thread
has been interrupted.- Returns:
- Throws:
InterruptedException
- if the callingThread
has been interrupted.Exception
- A general exception that will be handled.
-