public class UpdatePriority
extends hudson.tasks.Builder
Modifier and Type | Class and Description |
---|---|
static class |
UpdatePriority.DescriptorImpl |
Constructor and Description |
---|
UpdatePriority(String prefix,
String priority) |
Modifier and Type | Method and Description |
---|---|
UpdatePriority.DescriptorImpl |
getDescriptor() |
String |
getPrefix() |
String |
getPriority() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
public String getPriority()
public String getPrefix()
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 UpdatePriority.DescriptorImpl getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.tasks.Builder>
getDescriptor
in class hudson.tasks.Builder
Copyright © 2016–2021. All rights reserved.