public abstract class BPPlugin<PUBLISHER extends BapPublisher,CLIENT extends BPClient,COMMON_CONFIG> extends hudson.tasks.Notifier implements jenkins.tasks.SimpleBuildStep, BPHostConfigurationAccess<CLIENT,COMMON_CONFIG>
hudson.tasks.Publisher.DescriptorExtensionListImpl
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory
Modifier and Type | Field and Description |
---|---|
static String |
PROMOTION_CLASS_NAME |
static String |
PROMOTION_JOB_TYPE |
Constructor and Description |
---|
BPPlugin(String consolePrefix) |
BPPlugin(String consolePrefix,
ArrayList<PUBLISHER> publishers,
boolean continueOnError,
boolean failOnError,
boolean alwaysPublishFromMaster,
String masterNodeName,
ParamPublish paramPublish) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.commons.lang.builder.EqualsBuilder |
addToEquals(org.apache.commons.lang.builder.EqualsBuilder builder,
BPPlugin that) |
protected org.apache.commons.lang.builder.HashCodeBuilder |
addToHashCode(org.apache.commons.lang.builder.HashCodeBuilder builder) |
protected org.apache.commons.lang.builder.ToStringBuilder |
addToToString(org.apache.commons.lang.builder.ToStringBuilder builder) |
boolean |
equals(Object that) |
protected void |
fixup(hudson.model.Run<?,?> build,
BPBuildInfo buildInfo) |
BPInstanceConfig |
getDelegate() |
BPInstanceConfig |
getInstanceConfig() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
int |
hashCode() |
protected boolean |
isBuildGoodEnoughToRun(hudson.model.Run<?,?> build,
PrintStream console) |
void |
perform(hudson.model.Run<?,?> build,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener) |
void |
setDelegate(BPInstanceConfig delegate) |
String |
toString() |
all, getProjectAction, needsToRunAfterFinalized, prebuild
getProjectAction, getProjectActions, perform, perform, prebuild
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getProjectAction, getProjectActions, perform, prebuild
getConfiguration
public static final String PROMOTION_JOB_TYPE
public static final String PROMOTION_CLASS_NAME
public BPPlugin(String consolePrefix)
public BPPlugin(String consolePrefix, ArrayList<PUBLISHER> publishers, boolean continueOnError, boolean failOnError, boolean alwaysPublishFromMaster, String masterNodeName, ParamPublish paramPublish)
public BPInstanceConfig getInstanceConfig()
public BPInstanceConfig getDelegate()
public void setDelegate(BPInstanceConfig delegate)
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService
in interface hudson.tasks.BuildStep
public void perform(hudson.model.Run<?,?> build, hudson.FilePath workspace, hudson.Launcher launcher, hudson.model.TaskListener listener) throws InterruptedException, IOException
perform
in interface jenkins.tasks.SimpleBuildStep
InterruptedException
IOException
protected void fixup(hudson.model.Run<?,?> build, BPBuildInfo buildInfo)
protected boolean isBuildGoodEnoughToRun(hudson.model.Run<?,?> build, PrintStream console)
protected org.apache.commons.lang.builder.HashCodeBuilder addToHashCode(org.apache.commons.lang.builder.HashCodeBuilder builder)
protected org.apache.commons.lang.builder.EqualsBuilder addToEquals(org.apache.commons.lang.builder.EqualsBuilder builder, BPPlugin that)
protected org.apache.commons.lang.builder.ToStringBuilder addToToString(org.apache.commons.lang.builder.ToStringBuilder builder)
Copyright © 2016–2018. All rights reserved.