类 DingTalkStep

java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
io.jenkins.plugins.DingTalkStep
所有已实现的接口:
ExtensionPoint, Describable<org.jenkinsci.plugins.workflow.steps.Step>

public class DingTalkStep extends org.jenkinsci.plugins.workflow.steps.Step
支持 pipeline 中使用

* 不要使用 @Data 注解,spotbugs 会报错 *

* Redundant nullcheck of this$title, which is known to be non-null in * io.jenkins.plugins.model.MessageModel.equals(Object)

作者:
liuwei
  • 构造器详细资料

    • DingTalkStep

      @DataBoundConstructor public DingTalkStep(String robot)
  • 方法详细资料

    • setType

      @DataBoundSetter public void setType(MsgTypeEnum type)
    • setAt

      @DataBoundSetter public void setAt(List<String> at)
    • setAtAll

      @DataBoundSetter public void setAtAll(boolean atAll)
    • setTitle

      @DataBoundSetter public void setTitle(String title)
    • setText

      @DataBoundSetter public void setText(List<String> text)
    • setMessageUrl

      @DataBoundSetter public void setMessageUrl(String messageUrl)
    • setPicUrl

      @DataBoundSetter public void setPicUrl(String picUrl)
    • setSingleTitle

      @DataBoundSetter public void setSingleTitle(String singleTitle)
    • setSingleUrl

      @DataBoundSetter public void setSingleUrl(String singleUrl)
    • setBtns

      @DataBoundSetter public void setBtns(List<ButtonModel> btns)
    • setBtnLayout

      @DataBoundSetter public void setBtnLayout(BtnLayoutEnum btnLayout)
    • setHideAvatar

      @DataBoundSetter public void setHideAvatar(boolean hideAvatar)
    • getBtnLayout

      public String getBtnLayout()
      获取按钮排列方向
      返回:
      水平或则垂直
    • isHideAvatar

      public String isHideAvatar()
    • send

      public String send(Run<?,?> run, EnvVars envVars, TaskListener listener)
    • start

      public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception
      指定者:
      start 在类中 org.jenkinsci.plugins.workflow.steps.Step
      抛出:
      Exception