public class AddBadgeStep
extends org.jenkinsci.plugins.workflow.steps.Step
Modifier and Type | Class and Description |
---|---|
protected static class |
AddBadgeStep.Badge |
static class |
AddBadgeStep.DescriptorImpl |
static class |
AddBadgeStep.Execution |
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
AddBadgeStep(String icon,
String text) |
Modifier and Type | Method and Description |
---|---|
protected AddBadgeStep.Badge |
getBadge() |
String |
getIcon() |
String |
getId() |
String |
getLink() |
String |
getText() |
void |
setId(String id) |
void |
setLink(String link) |
org.jenkinsci.plugins.workflow.steps.StepExecution |
start(org.jenkinsci.plugins.workflow.steps.StepContext context) |
@DataBoundConstructor public AddBadgeStep(@Param(name="icon",description="The icon for this badge") String icon, @Param(name="text",description="The text for this badge") String text)
public String getIcon()
public String getText()
public String getLink()
@DataBoundSetter @OptionalParam(description="The link to be added to this badge") public void setLink(String link)
public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context)
start
in class org.jenkinsci.plugins.workflow.steps.Step
protected AddBadgeStep.Badge getBadge()
@DataBoundSetter @OptionalParam(description="The id for this badge. This id can be used to selectively delete badges.") public void setId(String id)
public String getId()
Copyright © 2016–2021. All rights reserved.