public abstract class BaseBuilder
extends hudson.tasks.Builder
Constructor and Description |
---|
BaseBuilder() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isAvailableRemotely(Image remoteImage,
SpoonBuild build,
hudson.model.BuildListener listener) |
boolean |
perform(hudson.model.AbstractBuild<?,?> abstractBuild,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
protected abstract boolean |
perform(SpoonBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
boolean |
prebuild(hudson.model.AbstractBuild<?,?> abstractBuild,
hudson.model.BuildListener listener) |
protected void |
prebuild(SpoonBuild build,
hudson.model.BuildListener listener) |
void |
switchHub(CommandDriver client,
String hubUrl,
SpoonBuild build) |
all, getDescriptor, getRequiredMonitorService, prebuild
public boolean prebuild(hudson.model.AbstractBuild<?,?> abstractBuild, hudson.model.BuildListener listener)
prebuild
in interface hudson.tasks.BuildStep
prebuild
in class hudson.tasks.BuildStepCompatibilityLayer
public boolean perform(hudson.model.AbstractBuild<?,?> abstractBuild, hudson.Launcher launcher, hudson.model.BuildListener listener) throws InterruptedException, IOException
perform
in interface hudson.tasks.BuildStep
perform
in class hudson.tasks.BuildStepCompatibilityLayer
InterruptedException
IOException
protected void prebuild(SpoonBuild build, hudson.model.BuildListener listener)
protected abstract boolean perform(SpoonBuild build, hudson.Launcher launcher, hudson.model.BuildListener listener) throws InterruptedException, IOException
InterruptedException
IOException
protected boolean isAvailableRemotely(Image remoteImage, SpoonBuild build, hudson.model.BuildListener listener)
public void switchHub(CommandDriver client, String hubUrl, SpoonBuild build)
Copyright © 2004-2016. All Rights Reserved.