| Package | Description |
|---|---|
| io.quarkus.builder | |
| io.quarkus.builder.item |
| Modifier and Type | Method and Description |
|---|---|
<T extends BuildItem> |
BuildContext.produce(Class<T> type,
T item)
Produce the given item.
|
<T extends BuildItem> |
BuildExecutionBuilder.produce(Class<T> type,
T item)
Provide an initial item.
|
<T extends BuildItem> |
BuildExecutionBuilder.produce(T item)
Provide an initial item.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) Map<ItemId,ArrayList<BuildItem>> |
BuildExecutionBuilder.getInitialMulti() |
(package private) Map<ItemId,BuildItem> |
BuildExecutionBuilder.getInitialSingle() |
(package private) ConcurrentHashMap<ItemId,List<BuildItem>> |
Execution.getMultis() |
(package private) ConcurrentHashMap<ItemId,BuildItem> |
Execution.getSingles() |
(package private) Class<? extends BuildItem> |
ItemId.getType() |
| Modifier and Type | Method and Description |
|---|---|
void |
BuildContext.produce(BuildItem item)
Produce the given item.
|
| Modifier and Type | Method and Description |
|---|---|
BuildChainBuilder |
BuildChainBuilder.addFinal(Class<? extends BuildItem> type)
Declare a final item that will be consumable after the build step chain completes.
|
BuildChainBuilder |
BuildChainBuilder.addInitial(Class<? extends BuildItem> type)
Declare an initial item that will be provided to build steps in the chain.
|
BuildStepBuilder |
BuildStepBuilder.afterProduce(Class<? extends BuildItem> type)
This build step should be initiated after any build steps which produce the given item
type are completed. |
BuildStepBuilder |
BuildStepBuilder.beforeConsume(Class<? extends BuildItem> type)
This build step should complete before any build steps which consume the given item
type are initiated. |
BuildStepBuilder |
BuildStepBuilder.beforeConsume(Class<? extends BuildItem> type,
ProduceFlag flag)
This build step should complete before any build steps which consume the given item
type are initiated. |
BuildStepBuilder |
BuildStepBuilder.consumes(Class<? extends BuildItem> type)
This build step consumes the given produced item.
|
BuildStepBuilder |
BuildStepBuilder.consumes(Class<? extends BuildItem> type,
ConsumeFlags flags)
This build step consumes the given produced item.
|
boolean |
BuildContext.isAvailableToConsume(Class<? extends BuildItem> type)
Determine if a item was produced and is therefore available to be consumed.
|
boolean |
BuildContext.isConsumed(Class<? extends BuildItem> type)
Determine if a item will be consumed in this build.
|
BuildStepBuilder |
BuildStepBuilder.produces(Class<? extends BuildItem> type)
Similarly to
BuildStepBuilder.beforeConsume(Class), establish that this build step must come before the consumer(s) of the
given item type; however, only one producer may exist for the given item. |
BuildStepBuilder |
BuildStepBuilder.produces(Class<? extends BuildItem> type,
ProduceFlag flag)
Similarly to
BuildStepBuilder.beforeConsume(Class), establish that this build step must come before the consumer(s) of the
given item type; however, only one producer may exist for the given item. |
BuildStepBuilder |
BuildStepBuilder.produces(Class<? extends BuildItem> type,
ProduceFlag flag1,
ProduceFlag flag2)
Similarly to
BuildStepBuilder.beforeConsume(Class), establish that this build step must come before the consumer(s) of the
given item type; however, only one producer may exist for the given item. |
BuildStepBuilder |
BuildStepBuilder.produces(Class<? extends BuildItem> type,
ProduceFlags flags)
Similarly to
BuildStepBuilder.beforeConsume(Class), establish that this build step must come before the consumer(s) of the
given item type; however, only one producer may exist for the given item. |
| Constructor and Description |
|---|
BuildResult(ConcurrentHashMap<ItemId,BuildItem> simpleItems,
ConcurrentHashMap<ItemId,List<BuildItem>> multiItems,
Set<ItemId> finalIds,
List<Diagnostic> diagnostics,
long nanos) |
BuildResult(ConcurrentHashMap<ItemId,BuildItem> simpleItems,
ConcurrentHashMap<ItemId,List<BuildItem>> multiItems,
Set<ItemId> finalIds,
List<Diagnostic> diagnostics,
long nanos) |
ItemId(Class<? extends BuildItem> itemType) |
| Modifier and Type | Class and Description |
|---|---|
class |
EmptyBuildItem
An empty build item.
|
class |
MultiBuildItem
A build item that may be produced multiple times, and consumed as a
List. |
class |
SimpleBuildItem
A single-valued build item which is identified by its type.
|
Copyright © 2020 JBoss by Red Hat. All rights reserved.