public class UpdatePriority
extends hudson.tasks.Recorder
implements hudson.matrix.MatrixAggregatable
Modifier and Type | Class and Description |
---|---|
static class |
UpdatePriority.DescriptorImpl |
hudson.tasks.Publisher.DescriptorExtensionListImpl
Constructor and Description |
---|
UpdatePriority(String prefix,
String priority) |
Modifier and Type | Method and Description |
---|---|
boolean |
_perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
hudson.matrix.MatrixAggregator |
createAggregator(hudson.matrix.MatrixBuild matrixbuild,
hudson.Launcher launcher,
hudson.model.BuildListener buildlistener) |
UpdatePriority.DescriptorImpl |
getDescriptor() |
String |
getPrefix() |
String |
getPriority() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
all, getProjectAction, needsToRunAfterFinalized, prebuild
public String getPriority()
public String getPrefix()
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService
in interface hudson.tasks.BuildStep
public hudson.matrix.MatrixAggregator createAggregator(hudson.matrix.MatrixBuild matrixbuild, hudson.Launcher launcher, hudson.model.BuildListener buildlistener)
createAggregator
in interface hudson.matrix.MatrixAggregatable
public boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener) throws InterruptedException, IOException
perform
in interface hudson.tasks.BuildStep
perform
in class hudson.tasks.BuildStepCompatibilityLayer
build
- Build Object of Current buildlauncher
- launcher is responsible for inheriting environment variableslistener
- Receives events that happen during a buildInterruptedException
- when a thread that is sleeping, waiting, or is occupied is interruptedIOException
- Input/Output errorpublic boolean _perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener) throws InterruptedException, IOException
InterruptedException
IOException
public UpdatePriority.DescriptorImpl getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.tasks.Publisher>
getDescriptor
in class hudson.tasks.Recorder
Copyright © 2016–2021. All rights reserved.