Package io.quarkus.builder
Interface BuildStep
-
- All Known Implementing Classes:
FinalStep
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface BuildStep
A single atomic unit of build work. A build step either succeeds or it does not, with no intermediate states possible. Build steps should be as fine-grained as possible.- Author:
- David M. Lloyd
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidexecute(BuildContext context)Execute a build step.default StringgetId()The identifier should be unique for a build chain.
-
-
-
Field Detail
-
EMPTY
static final BuildStep EMPTY
The empty build step, which immediately succeeds.
-
-
Method Detail
-
execute
void execute(BuildContext context)
Execute a build step.- Parameters:
context- the context of the build operation (notnull)
-
getId
default String getId()
The identifier should be unique for a build chain.- Returns:
- the identifier
-
-