public class CreateSprintsItem
extends hudson.tasks.Recorder
implements hudson.matrix.MatrixAggregatable
Modifier and Type | Class and Description |
---|---|
static class |
CreateSprintsItem.DescriptorImpl |
hudson.tasks.Publisher.DescriptorExtensionListImpl
Constructor and Description |
---|
CreateSprintsItem(String name,
String prefix,
String description,
String type,
String assignee,
String attachment) |
Modifier and Type | Method and Description |
---|---|
hudson.matrix.MatrixAggregator |
createAggregator(hudson.matrix.MatrixBuild matrixbuild,
hudson.Launcher launcher,
hudson.model.BuildListener buildlistener) |
String |
getAssignee() |
String |
getDescription() |
CreateSprintsItem.DescriptorImpl |
getDescriptor() |
String |
getName() |
String |
getPrefix() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
String |
getType() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
all, getProjectAction, needsToRunAfterFinalized, prebuild
@DataBoundConstructor public CreateSprintsItem(String name, String prefix, String description, String type, String assignee, String attachment)
name
- Name of the Sprints Itemprefix
- To where the item to be created {prefix} Backlog/sprintdescription
- Description of the Sprints Itemtype
- Type of the Sprints Typeassignee
- Assignee of the Sprint Itemattachment
- Attachment for the Sprint Itempublic String getName()
public String getPrefix()
public String getDescription()
public String getType()
public String getAssignee()
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 CreateSprintsItem.DescriptorImpl getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.tasks.Publisher>
getDescriptor
in class hudson.tasks.Recorder
Copyright © 2016–2021. All rights reserved.