Package org.jenkinsci.plugins.badge.dsl
Class AddEmbeddableBadgeConfigStep
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
-
- org.jenkinsci.plugins.workflow.steps.Step
-
- org.jenkinsci.plugins.badge.dsl.AddEmbeddableBadgeConfigStep
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<org.jenkinsci.plugins.workflow.steps.Step>
public class AddEmbeddableBadgeConfigStep extends org.jenkinsci.plugins.workflow.steps.Step
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AddEmbeddableBadgeConfigStep.DescriptorImpl
static class
AddEmbeddableBadgeConfigStep.Execution
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description AddEmbeddableBadgeConfigStep(String id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAnimatedOverlayColor()
String
getColor()
String
getID()
String
getLink()
String
getStatus()
String
getSubject()
void
setAnimatedOverlayColor(String animatedOverlayColor)
void
setColor(String color)
void
setLink(String link)
void
setStatus(String status)
void
setSubject(String subject)
org.jenkinsci.plugins.workflow.steps.StepExecution
start(org.jenkinsci.plugins.workflow.steps.StepContext context)
-
-
-
Constructor Detail
-
AddEmbeddableBadgeConfigStep
@DataBoundConstructor public AddEmbeddableBadgeConfigStep(@Param(name="id",description="The id for the badge configuration") String id)
-
-
Method Detail
-
getID
public String getID()
-
getSubject
public String getSubject()
-
setSubject
@DataBoundSetter @OptionalParam(description="The subject used for the badge configuration") public void setSubject(String subject)
-
getStatus
public String getStatus()
-
setStatus
@DataBoundSetter @OptionalParam(description="The status used for the badge configuration") public void setStatus(String status)
-
getColor
public String getColor()
-
setColor
@DataBoundSetter @OptionalParam(description="The color used for the badge configuration") public void setColor(String color)
-
getAnimatedOverlayColor
public String getAnimatedOverlayColor()
-
setAnimatedOverlayColor
@DataBoundSetter @OptionalParam(description="The animated overlay color used for the badge configuration") public void setAnimatedOverlayColor(String animatedOverlayColor)
-
getLink
public String getLink()
-
setLink
@DataBoundSetter @OptionalParam(description="The link the will be followed when clicking on the svg") public void setLink(String link)
-
start
public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context)
- Specified by:
start
in classorg.jenkinsci.plugins.workflow.steps.Step
-
-