public class PluginIngredient extends Ingredient
Modifier and Type | Class and Description |
---|---|
static class |
PluginIngredient.DescriptorImpl |
static class |
PluginIngredient.Item
Represents a reference to single plugin in the recipe and how it compares with the current state of
the system.
|
Constructor and Description |
---|
PluginIngredient(List<String> names) |
PluginIngredient(String names) |
Modifier and Type | Method and Description |
---|---|
protected void |
cook(Recipe recipe,
ImportReportList reportList)
Imports this ingredient into the current Jenkins.
|
List<String> |
getNameList() |
boolean |
isVisibleDuringImport()
Return false if this recipe needs to be hidden during the import conversation.
|
List<PluginIngredient.Item> |
parse()
Parses all the specific plugins and return their information.
|
apply, getDescriptor, read
public final String names
public PluginIngredient(String names)
public boolean isVisibleDuringImport()
Ingredient
isVisibleDuringImport
in class Ingredient
public List<PluginIngredient.Item> parse()
protected void cook(Recipe recipe, ImportReportList reportList) throws IOException, InterruptedException
Ingredient
cook
in class Ingredient
reportList
- Report what was actually done by adding ImportReport
to this
(both success and non-fatal failures.)IOException
InterruptedException
Copyright © 2004-2014. All Rights Reserved.