public class VBoxBuildWrapper
extends hudson.tasks.BuildWrapper
Descriptor.newInstance(StaplerRequest)
is invoked and a new
VBoxBuildWrapper
is created. The created instance is persisted to the
project configuration XML by using XStream, so this allows you to use
instance fields to remember the configuration.Modifier and Type | Class and Description |
---|---|
static class |
VBoxBuildWrapper.DescriptorImpl
Descriptor for
VBoxBuildWrapper . |
Constructor and Description |
---|
VBoxBuildWrapper(List<String> virtualSlaves,
boolean useSetup,
boolean useTeardown) |
Modifier and Type | Method and Description |
---|---|
VBoxBuildWrapper.DescriptorImpl |
getDescriptor() |
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.BuildWrapper
IOException
InterruptedException
public VBoxBuildWrapper.DescriptorImpl getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.tasks.BuildWrapper>
getDescriptor
in class hudson.model.AbstractDescribableImpl<hudson.tasks.BuildWrapper>
Copyright © 2004-2013. All Rights Reserved.