public class VBoxWrapper
extends hudson.tasks.BuildWrapper
When the user configures the project and enables this builder,
Descriptor.newInstance(StaplerRequest) is invoked and a new
VBoxWrapper is created. The created instance is persisted to the
project configuration XML by using XStream, so this allows you to use
instance fields (like #name) to remember the configuration.
| Modifier and Type | Class and Description |
|---|---|
static class |
VBoxWrapper.DescriptorImpl
Descriptor for
VBoxWrapper. |
| Constructor and Description |
|---|
VBoxWrapper(List<String> virtualSlaves,
boolean useSetup,
boolean useTeardown) |
| Modifier and Type | Method and Description |
|---|---|
VBoxWrapper.DescriptorImpl |
getDescriptor() |
static List<String> |
getSlaveNames()
Finds all slave machine names
|
List<String> |
getVirtualSlaves() |
boolean |
isUseSetup() |
boolean |
isUseTeardown() |
hudson.tasks.BuildWrapper.Environment |
setUp(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
Setup build wrapper environment.
|
public boolean isUseSetup()
public boolean isUseTeardown()
public hudson.tasks.BuildWrapper.Environment setUp(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws IOException,
InterruptedException
setUp in class hudson.tasks.BuildWrapperIOExceptionInterruptedExceptionpublic static List<String> getSlaveNames()
public VBoxWrapper.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.BuildWrapper>getDescriptor in class hudson.model.AbstractDescribableImpl<hudson.tasks.BuildWrapper>Copyright © 2004-2012. All Rights Reserved.