public class TaskRule extends AbstractModel
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表达式。
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getRepeatInterval()
Get 时间间隔, 单位毫秒
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getRuleType()
Get 触发规则类型, Cron/Repeat
|
void |
setExpression(String Expression)
Set Cron类型规则,cron表达式。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setRepeatInterval(Long RepeatInterval)
Set 时间间隔, 单位毫秒
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setRuleType(String RuleType)
Set 触发规则类型, Cron/Repeat
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public TaskRule()
public TaskRule(TaskRule source)
public String getRuleType()
public void setRuleType(String RuleType)
RuleType
- 触发规则类型, Cron/Repeatpublic String getExpression()
public void setExpression(String Expression)
Expression
- Cron类型规则,cron表达式。
注意:此字段可能返回 null,表示取不到有效值。public Long getRepeatInterval()
public void setRepeatInterval(Long RepeatInterval)
RepeatInterval
- 时间间隔, 单位毫秒
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2021. All rights reserved.