Package io.quarkus.builder
Class MultiBuildItems
java.lang.Object
io.quarkus.builder.MultiBuildItems
A facility for storing and retrieving
MultiBuildItems by ItemId.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidcloseAll()(package private) <T extends MultiBuildItem>
List<T> (package private) voidput(int ordinal, ItemId id, MultiBuildItem value) (package private) voidputInitial(ItemId id, MultiBuildItem value) Store the given initialMultiBuildItemunder the givenItemId.
-
Constructor Details
-
MultiBuildItems
-
-
Method Details
-
put
- Parameters:
ordinal- seeStepInfo.getOrdinal()id- theItemIdto store the givenvalueundervalue- theMultiBuildItemto store.
-
putInitial
Store the given initialMultiBuildItemunder the givenItemId. Initial values are the ones put into an execution before it has started.- Parameters:
id- theItemIdto store the givenvalueundervalue- theMultiBuildItemto store.
-
get
Returns aListofMultiBuildItems for the givenItemId.The ordering of the items in the returned
Listis guaranteed to be reproducible (same program inputs should give the same ordering).- Type Parameters:
T- the type of the elements of the returnedList- Parameters:
id- theItemIdwhoseMultiBuildItems should be retrieved- Returns:
- a
ListofMultiBuildItems
-
closeAll
void closeAll()
-