public class AddShortTextStep
extends org.jenkinsci.plugins.workflow.steps.Step
Modifier and Type | Class and Description |
---|---|
static class |
AddShortTextStep.DescriptorImpl |
static class |
AddShortTextStep.Execution |
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
AddShortTextStep(String text) |
Modifier and Type | Method and Description |
---|---|
String |
getBackground() |
Integer |
getBorder() |
String |
getBorderColor() |
String |
getColor() |
String |
getLink() |
String |
getText() |
void |
setBackground(String background) |
void |
setBorder(Integer border) |
void |
setBorderColor(String borderColor) |
void |
setColor(String color) |
void |
setLink(String link) |
org.jenkinsci.plugins.workflow.steps.StepExecution |
start(org.jenkinsci.plugins.workflow.steps.StepContext context) |
@DataBoundConstructor public AddShortTextStep(@Param(name="text",description="The text to add fot this badge") String text)
public String getText()
public String getColor()
@DataBoundSetter @OptionalParam(description="The color for this short text") public void setColor(String color)
public String getBackground()
@DataBoundSetter @OptionalParam(description="The background-color for this short text") public void setBackground(String background)
public Integer getBorder()
@DataBoundSetter @OptionalParam(description="The border width for this short text") public void setBorder(Integer border)
public String getBorderColor()
@DataBoundSetter @OptionalParam(description="The order color for this short text") public void setBorderColor(String borderColor)
@DataBoundSetter @OptionalParam(description="The link for this short text") public void setLink(String link)
public String getLink()
public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context)
start
in class org.jenkinsci.plugins.workflow.steps.Step
Copyright © 2016–2021. All rights reserved.