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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull CommonContext
call(@NotNull CommonContext buildContext, @NotNull ReadOnlyCapabilitySet capabilitySet)
Execute the build task.
-
-
-
Method Detail
-
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.
-
-