public class ViewIngredient extends Ingredient
Modifier and Type | Class and Description |
---|---|
static class |
ViewIngredient.DescriptorImpl |
Constructor and Description |
---|
ViewIngredient(String name) |
ViewIngredient(String name,
jenkins.util.xstream.XStreamDOM definition) |
Modifier and Type | Method and Description |
---|---|
void |
cook(Recipe recipe,
ImportReportList reportList)
Imports this ingredient into the current Jenkins.
|
static ViewIngredient |
fromView(hudson.model.View v) |
jenkins.util.xstream.XStreamDOM |
getDefinition() |
String |
getName() |
void |
setName(String name) |
apply, getDescriptor, isVisibleDuringImport, read
public ViewIngredient(String name, jenkins.util.xstream.XStreamDOM definition)
@DataBoundConstructor public ViewIngredient(String name)
public void setName(String name)
public String getName()
public jenkins.util.xstream.XStreamDOM getDefinition()
public void cook(Recipe recipe, ImportReportList reportList) throws IOException
Ingredient
cook
in class Ingredient
reportList
- Report what was actually done by adding ImportReport
to this
(both success and non-fatal failures.)IOException
public static ViewIngredient fromView(hudson.model.View v)
Copyright © 2004-2014. All Rights Reserved.