public class TaskRule extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| TaskRule() | 
| TaskRule(TaskRule source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getExpression()Get Cron类型规则,cron表达式。 | 
| Long | getRepeatInterval()Get 时间间隔, 单位毫秒
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getRuleType()Get 触发规则类型,枚举值。一共3个值,Cron:定时触发,Repeat:周期触发,WorkFlow:工作流触发 | 
| void | setExpression(String Expression)Set Cron类型规则,cron表达式。 | 
| void | setRepeatInterval(Long RepeatInterval)Set 时间间隔, 单位毫秒
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setRuleType(String RuleType)Set 触发规则类型,枚举值。一共3个值,Cron:定时触发,Repeat:周期触发,WorkFlow:工作流触发 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic TaskRule()
public TaskRule(TaskRule source)
public String getRuleType()
public void setRuleType(String RuleType)
RuleType - 触发规则类型,枚举值。一共3个值,Cron:定时触发,Repeat:周期触发,WorkFlow:工作流触发public String getExpression()
public void setExpression(String Expression)
Expression - Cron类型规则,cron表达式。public Long getRepeatInterval()
public void setRepeatInterval(Long RepeatInterval)
RepeatInterval - 时间间隔, 单位毫秒
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2025. All rights reserved.