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 CommonContextcall(@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
Threadhas been interrupted.- Returns:
- Throws:
InterruptedException- if the callingThreadhas been interrupted.Exception- A general exception that will be handled.
-