public static class PluginExecution.PluginExecutionBuilder extends Object
| Constructor and Description |
|---|
PluginExecutionBuilder() |
| Modifier and Type | Method and Description |
|---|---|
PluginExecution |
build()
Build the
PluginExecution. |
PluginExecution.PluginExecutionBuilder |
withGoals(List<String> goals)
Sets the list of goals in the plugin execution id to be built.
|
PluginExecution.PluginExecutionBuilder |
withId(String id)
Sets the id of the plugin execution to be built.
|
PluginExecution.PluginExecutionBuilder |
withPhase(String phase)
Sets the phase defined in the plugin execution to be built.
|
PluginExecution.PluginExecutionBuilder |
withPriority(Integer priority)
Sets the priority of the plugin execution to be built.
|
public PluginExecution.PluginExecutionBuilder withGoals(List<String> goals)
goals - a List representing the goalspublic PluginExecution.PluginExecutionBuilder withId(String id)
id - a string representation of the idpublic PluginExecution.PluginExecutionBuilder withPhase(String phase)
phase - a string representation of the phasepublic PluginExecution.PluginExecutionBuilder withPriority(Integer priority)
priority - an integer representation of the prioritypublic PluginExecution build()
PluginExecution.PluginExecution with the values provided to the builder instanceIllegalArgumentException - if either id or phase are blankCopyright © 2018 MuleSoft Inc. All rights reserved.