类 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
-
嵌套类概要
从接口继承的嵌套类/接口 hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
构造器概要
-
方法概要
修饰符和类型方法说明获取按钮排列方向send
(Run<?, ?> run, EnvVars envVars, TaskListener listener) void
void
setAtAll
(boolean atAll) void
setBtnLayout
(BtnLayoutEnum btnLayout) void
setBtns
(List<ButtonModel> btns) void
setHideAvatar
(boolean hideAvatar) void
setMessageUrl
(String messageUrl) void
void
setSingleTitle
(String singleTitle) void
setSingleUrl
(String singleUrl) void
void
void
setType
(MsgTypeEnum type) org.jenkinsci.plugins.workflow.steps.StepExecution
start
(org.jenkinsci.plugins.workflow.steps.StepContext context) 从类继承的方法 org.jenkinsci.plugins.workflow.steps.Step
getDescriptor
-
构造器详细资料
-
DingTalkStep
-
-
方法详细资料
-
setType
-
setAt
-
setAtAll
@DataBoundSetter public void setAtAll(boolean atAll) -
setTitle
-
setText
-
setMessageUrl
-
setPicUrl
-
setSingleTitle
-
setSingleUrl
-
setBtns
-
setBtnLayout
-
setHideAvatar
@DataBoundSetter public void setHideAvatar(boolean hideAvatar) -
getBtnLayout
获取按钮排列方向- 返回:
- 水平或则垂直
-
isHideAvatar
-
send
-
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
-